Skip to main content
PATCH
Update Profile

Authorizations

X-Api-Key
string
header
required

Path Parameters

profileId
string<uuid>
required

Body

application/json

Request to update an existing agent profile

cookiesToAdd
object[]
deprecated
cookiesToDelete
string<uuid>[]
deprecated
credentialsToAdd
object[]
deprecated

Deprecated: use secretIds. Credentials to add to the profile.

credentialsToDelete
string<uuid>[]
deprecated

Deprecated: use secretIds. IDs of credentials to remove from the profile.

credentialsToUpdate
object[]
deprecated

Deprecated: use secretIds. Credentials to update by name (matched case-insensitively).

description
string
Maximum string length: 1000
fingerprintId
string

Anchor browser fingerprint ID to apply at session create (admin only). Ignored unless the environment runs with extra stealth and an active proxy without sticky IP. An empty string clears it; omit to leave unchanged. Null is rejected — the generated servers cannot tell null from an omitted field, so accepting it would turn an intended clear into a silent no-op.

Pattern: ^([a-fA-F0-9]{24})?$
inboxEmailPrefix
string

Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai.

name
string
Required string length: 1 - 255
secretIds
string<uuid>[]

Secret IDs attached to this profile. Replaces the full list. To change part of it, use secretIdsToAdd and secretIdsToRemove.

secretIdsToAdd
string<uuid>[]

Secret IDs to attach. Secrets already attached stay. Cannot be combined with secretIds.

secretIdsToRemove
string<uuid>[]

Secret IDs to detach. IDs that are not attached are ignored. Applied before secretIdsToAdd. Cannot be combined with secretIds.

stickyIP
boolean

Turn the dedicated IP on or off. A change clears the profile's saved browser state, and is refused while a run uses the profile.

tracingEnabled
boolean

Whether browser tracing is enabled (admin only)

vaultItemIds
string<uuid>[]
deprecated

Deprecated: use secretIds.

vaultItemIdsToAdd
string<uuid>[]
deprecated

Deprecated: use secretIdsToAdd.

vaultItemIdsToRemove
string<uuid>[]
deprecated

Deprecated: use secretIdsToRemove.

Response

The request has succeeded.

An agent profile: who an agent signs in as. Credentials, cookies and an inbox. The environment it runs on is the workflow's choice.

cookies
object[]
required
createdAt
string<date-time>
required
credentials
object[]
required
deprecated

Deprecated: Use vaultItems instead. Legacy credential names mirrored from attached vault items (legacyName). Prefer vaultItems; ##NAME## remains a grace-period alias.

description
string
required
id
string<uuid>
required
inboxEmail
string
required

The resolved inbox email address for this profile

name
string
required

Name of the agent profile (unique within organization)

organizationId
string<uuid>
required

The ID of the organization that owns this profile

stickyIP
boolean
required

Whether browser runs on this profile egress from one dedicated IP. Applies when the environment uses the managed proxy or no proxy.

tracingEnabled
boolean
required

Whether browser tracing is enabled (admin only)

updatedAt
string<date-time>
required
vaultItems
object[]
required

Org vault items attached to this profile. Deleted items are omitted.

fingerprintId
string | null

Anchor browser fingerprint ID applied at session create (admin only). Absent or null when unset.

inboxEmailPrefix
string

Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai. If not set, defaults to the first 8 characters of the profile ID.