Skip to main content
PATCH
/
v1
/
profiles
/
{profileId}
Update a Browser Context Profile
curl --request PATCH \
  --url https://agent.tinyfish.ai/v1/profiles/{profileId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "set_as_default": true
}
'
{
  "id": "prof_abc123def4567890",
  "name": "Work Gmail",
  "created_at": "2026-06-10T12:00:00Z",
  "domains": [
    {
      "domain": "example.com",
      "cookie_count": 12,
      "local_storage_origin_count": 1,
      "last_written_at": "2026-06-10T12:00:00Z",
      "last_written_by_run_id": "run_abc123"
    }
  ],
  "proxy_country_code": "US",
  "is_default": true,
  "fingerprint_seed": "fp_abc123def456",
  "domain_count": 3,
  "updated_at": "2026-06-10T12:00:00Z"
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key from the API Keys page.

Path Parameters

profileId
string
required

Browser Context Profile ID

Minimum string length: 1
Example:

"prof_abc123def4567890"

Body

application/json

Update Browser Context Profile metadata.

name
string
Required string length: 1 - 100
set_as_default
boolean
proxy_country_code
enum<string> | null
Available options:
US,
GB,
CA,
AU,
DE,
FR,
IT,
ES,
NL,
JP,
SG,
BR,
IN,
null

Response

Update a Browser Context Profile succeeded.

id
string
required

Browser Context Profile ID

Minimum string length: 1
Example:

"prof_abc123def4567890"

name
string
required

Browser Context Profile display name

Example:

"Work Gmail"

created_at
string
required
Example:

"2026-06-10T12:00:00Z"

domains
object[]
required
proxy_country_code
enum<string> | null
Available options:
US,
GB,
CA,
AU,
DE,
FR,
IT,
ES,
NL,
JP,
SG,
BR,
IN,
null
Example:

"US"

is_default
boolean
Example:

true

fingerprint_seed
string
Example:

"fp_abc123def456"

domain_count
integer
Required range: x >= 0
Example:

3

updated_at
string
Example:

"2026-06-10T12:00:00Z"