Profiles

List profiles

get

Lists persistent profiles (temporary profiles are hidden), newest first, pinned on top. Each entry is enriched with live run state.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Responses
200

Profile list.

application/json

Launcher-facing profile metadata (returned by create).

idstring · uuidOptional
namestringOptional
notesstringOptional
proxy_idstring · nullableOptional
last_launched_atstring · nullableOptional

ISO-8601 or null.

created_atstring · nullableOptional
pinnedbooleanOptional
folderstringOptional
runningbooleanOptional
pidinteger · int64 · nullableOptional
get
/profiles

Create a profile

post

Persists a profile from a client-supplied fingerprint exactly as given (no re-randomization — uniquification already happened in /fingerprint/new). Use folder to file it; bind a proxy by stored proxy_id or attach one inline via proxy (a string that is NOT saved to the proxy store).

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Body
namestringOptional
notesstringOptional
proxy_idstringOptional

Bind a proxy already in the store (by id).

proxystringOptional

Attach a proxy by string (host:port:user:pass or scheme://user:pass@host:port). On a persistent profile it is added to the proxy store (deduped by endpoint) and full-tested (UDP + geo), then bound by id — so it appears in the proxy list and QUIC/WebRTC gating has a cached result. On a temporary profile it is attached inline (not stored). Ignored if proxy_id is set.

Example: socks5://user:[email protected]:1080
folderstringOptional

Folder tag (ignored on /folders/{folder}/profiles, which wins).

Responses
200

Created profile metadata.

application/json

Launcher-facing profile metadata (returned by create).

idstring · uuidOptional
namestringOptional
notesstringOptional
proxy_idstring · nullableOptional
last_launched_atstring · nullableOptional

ISO-8601 or null.

created_atstring · nullableOptional
pinnedbooleanOptional
folderstringOptional
post
/profiles

Create a temporary profile

post

Creates a profile from a random (or specified) library fingerprint, uniquified like /fingerprint/new and stored verbatim, flagged temporary: hidden from listings and auto-deleted when its browser closes (or purged on next app start after a crash). Pair with POST /profiles/{id}/start.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Body
fingerprint_idstringOptional

Library entry to base off; random match for platform when omitted.

platformstring · enumOptional

Used to pick a random fingerprint when fingerprint_id is omitted; host OS when both omitted.

Possible values:
proxystringOptional

Inline proxy string (not saved to the store).

namestringOptional
folderstringOptional
Responses
200

Created temporary profile.

application/json
idstring · uuidOptional
namestringOptional
fingerprint_idstringOptional

The library entry the profile was generated from.

temporarybooleanOptionalExample: true
proxy_inlinebooleanOptional

Whether an inline proxy string was attached.

post
/profiles/temporary

Get a profile

get

Returns the full stored profile: the _meta envelope plus the flattened FingerprintConfig. If the profile is running, running and cdp are added.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Path parameters
idstring · uuidRequired

Profile UUID.

Responses
200

The stored profile.

application/json

Full on-disk profile: the _meta envelope plus the flattened FingerprintConfig (all Fingerprint fields appear at the top level). running/cdp are present only while the profile runs.

runningbooleanOptional
Other propertiesanyOptional
get
/profiles/{id}

Delete a profile

delete

Removes the profile config and its user-data-dir.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Path parameters
idstring · uuidRequired

Profile UUID.

Responses
200

Deleted.

application/json
deletedbooleanOptionalExample: true
idstring · uuidOptional
delete
/profiles/{id}

Edit a profile

patch

Updates only the provided fields. When fingerprint is given it REPLACES the stored fingerprint verbatim (no re-randomization). folder: "" unfiles the profile; proxy_id: "" unbinds the proxy; a proxy string is stored (deduped) + full-tested, then bound. Returns the updated stored profile.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Path parameters
idstring · uuidRequired

Profile UUID.

Body

All fields optional — only what's present is changed.

namestringOptional
notesstringOptional
folderstringOptional

"" unfiles (moves to All).

proxy_idstringOptional

"" unbinds the proxy.

proxystringOptional

Proxy string — stored (deduped) + full-tested, then bound.

Responses
200

Updated stored profile.

application/json

Full on-disk profile: the _meta envelope plus the flattened FingerprintConfig (all Fingerprint fields appear at the top level). running/cdp are present only while the profile runs.

runningbooleanOptional
Other propertiesanyOptional
patch
/profiles/{id}

Launch a profile (with CDP)

post

Spawns the ShardX browser for the profile with remote-debugging enabled, resolves any auto timezone/locale/geo from the bound proxy, and returns the CDP endpoint once Chrome has written its DevToolsActivePort. CDP is enabled only on API launches (UI launches stay debugging-free for anti-detect). cdp is null if the endpoint couldn't be read within the timeout. Works for both regular and temporary profiles.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Path parameters
idstring · uuidRequired

Profile UUID.

Body
headlessbooleanOptional

Launch headless (--headless=new).

Default: false
Responses
200

Launched.

application/json
profile_idstringOptional
pidinteger · int64Optional

OS process id.

headlessbooleanOptional
post
/profiles/{id}/start

Stop a profile

post

Sends the browser a graceful shutdown (SIGTERM on Unix; 5s grace then SIGKILL). Temporary profiles are deleted as part of close. stopped is false if the profile wasn't running.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Path parameters
idstring · uuidRequired

Profile UUID.

Responses
200

Stop requested.

application/json
profile_idstringOptional
stoppedbooleanOptional
post
/profiles/{id}/stop

Export cookies

get

Reads the profile's Chromium cookie store and returns all cookies decrypted. Works whether the profile is running or stopped. Empty array if the profile has never launched.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Path parameters
idstring · uuidRequired

Profile UUID.

Responses
200

Cookies.

application/json
get
/profiles/{id}/cookies

Import cookies

post

Writes cookies into the profile's cookie store (re-encrypting to Chromium's v10 scheme). The profile must be stopped — a running browser rewrites the store on exit and would clobber the import.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Path parameters
idstring · uuidRequired

Profile UUID.

Body
Responses
200

Imported.

application/json
importedintegerOptional

Number of cookies written.

post
/profiles/{id}/cookies

List running profiles

get

Profiles with a live browser process, including the CDP endpoint when launched via the API.

Authorizations
AuthorizationstringRequired

Permanent JWT from Settings → Automation API.

Responses
200

Running profiles.

application/json
profile_idstringOptional
pidinteger · int64Optional
get
/running

Останнє оновлення

Це було корисно?