Skip to main content
GET
/
profiles
/
{id_or_name}
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id_or_name
string
required

Profile ID or name

Response

Profile details

Browser profile metadata.

id
string
required

Unique identifier for the profile

created_at
string<date-time>
required

Timestamp when the profile was created

name
string | null

Optional, easier-to-reference name for the profile

updated_at
string<date-time>

Timestamp when the profile was last updated

last_used_at
string<date-time>

Timestamp when the profile was last used

I