Get a profile
Returns a profile's metadata, revision and counts. Cookie values and storage contents are never returned here.
GET
/v1/vision/profiles/{profile_id}
Returns a profile's metadata, revision and counts. Cookie values and storage contents are never returned here.
Authentication
Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)
Path Parameters
profile_id
string
required
path
The profile ID (`prof_…`).
Example:
"prof_01m5t3v4507bhcb5jqrgzfvfsk"Responses
200
The profile.
application/jsonid
string
REQUIRED
object
unknown
REQUIRED
Enum:
profilecreated_at
string (date-time)
REQUIRED
RFC 3339, UTC, e.g. 2026-10-25T17:00:00Z.
updated_at
string (date-time)
REQUIRED
Last time the storage state was replaced or saved back.
last_used_at
string (date-time) | null
REQUIRED
Last time a session or render job loaded the profile; null if never.
expires_at
string (date-time) | null
When the profile is deleted automatically; null for no expiry.
metadata
object
REQUIRED
Customer string map, at most 16 keys (ARCHITECTURE 4.1).
name
string
REQUIRED
org
string
Owning org. Returned to the owner only; tenancy is checked on every access.
project
string
domains
string[]
REQUIRED
Registrable domains the profile may hold state for. Every cookie domain and every origin host in the storage state must equal one of these or be a subdomain of one; an import that breaks this fails with profile_domain_mismatch. When omitted at creation, it is derived from the uploaded state.
Array of:
string
revision
integer
REQUIRED
Increments on every save. A session that loaded revision n and saves back while the profile is at revision m > n fails with profile_conflict unless it asked to overwrite.
status
unknown
REQUIRED
active: loadable. locked: a session with persist is writing it back; loads still see the last revision. expired: past expires_at, about to be deleted.
Enum:
active, locked, expiredsource
unknown
How the current revision was produced: uploaded storage state, saved back from a vision session, or imported from a render or CLI login.
Enum:
upload, session, loginstats
object
REQUIRED
Counts over the current revision, so clients can show what a profile holds without decrypting it.
cookies
integer
REQUIRED
origins
integer
REQUIRED
indexeddb_databases
integer
bytes
integer
REQUIRED
Size of the serialized storage state before encryption.
earliest_cookie_expiry
string (date-time) | null
Earliest expires among persistent cookies; null when there are none. Lets clients warn before a login lapses.
400
The request failed validation (`invalid_request`, `invalid_url`).
401
Missing, malformed, expired or revoked credentials (`unauthorized`).
403
Authenticated but not allowed (`forbidden`, `egress_denied`).
404
No such profile in this project (`profile_not_found`).
429
A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500
Something failed inside B3OS (`internal`). Retry with backoff.
503
The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X GET 'https://beta-api.b3os.org/v1/vision/profiles/prof_01m5t3v4507bhcb5jqrgzfvfsk' \ -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/vision/profiles/prof_01m5t3v4507bhcb5jqrgzfvfsk', { method: 'GET', headers: { "Authorization": "Bearer YOUR_API_TOKEN" }});const data = await response.json();console.log(data);
import requestsheaders = { 'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://beta-api.b3os.org/v1/vision/profiles/prof_01m5t3v4507bhcb5jqrgzfvfsk', headers=headers)print(response.json())
200
Response
{ "id": "prof_01m5t3v4507bhcb5jqrgzfvfsk", "object": "profile", "created_at": "2026-10-20T09:12:44.000Z", "updated_at": "2026-10-25T18:31:02.118Z", "last_used_at": "2026-10-25T18:30:00.002Z", "expires_at": null, "metadata": {}, "name": "acme-staging", "domains": [ "example.com" ], "revision": 4, "status": "active", "source": "session", "stats": { "cookies": 7, "origins": 2, "bytes": 18422 }}
API Playground
Try this endpoint
GET
/v1/vision/profiles/{profile_id}