Skip to main content
GET
/
profiles
/
{profile_id}
Get Profile
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}};

fetch('https://api.browser-use.com/api/v2/profiles/{profile_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "lastUsedAt": "2023-11-07T05:31:56Z",
  "cookieDomains": [
    "<string>"
  ]
}

Authorizations

X-Browser-Use-API-Key
string
header
required

Path Parameters

profile_id
string<uuid>
required

Response

Successful Response

View model for representing a profile. A profile lets you preserve the login state between sessions.

We recommend that you create a separate profile for each user of your app.

id
string<uuid>
required

Unique identifier for the profile

createdAt
string<date-time>
required

Timestamp when the profile was created

updatedAt
string<date-time>
required

Timestamp when the profile was last updated

name
string | null

Optional name for the profile

lastUsedAt
string<date-time> | null

Timestamp when the profile was last used

List of domain URLs that have cookies stored for this profile