Javascript
import Kernel from '@onkernel/sdk'; const client = new Kernel({ apiKey: 'My API Key', }); const profile = await client.profiles.retrieve('id_or_name'); console.log(profile.id);
{ "id": "<string>", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "last_used_at": "2023-11-07T05:31:56Z" }
Retrieve details for a single profile by its ID or name.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Profile ID or name
Profile details
Browser profile metadata.