GET
/api/v1/profiles/{id}/cookies
Read profile cookies (through CDP while running, otherwise through an invisible kernel maintenance session)
Request#
POSIX shell · curl
curl --fail-with-body --request GET \
"$ADBR_API_URL/api/v1/profiles/{id}/cookies" \
-H "Authorization: Bearer $ADBR_API_TOKEN"Use the local address and token from API & MCP. Replace path placeholders such as {id} with actual IDs.
Authentication and permissions#
Authentication: Bearer token
Scopes: cookies:read
All listed scopes are required; admin satisfies scope checks. Account permissions, request content, vault state and resource permissions can impose additional requirements.
Parameters#
| Parameter | Location | Required | Description |
|---|---|---|---|
format | query | No | |
id | path | Yes |
Complete parameter schemas
OpenAPI JSON
[
{
"schema": {
"anyOf": [
{
"type": "string",
"enum": [
"json"
]
},
{
"type": "string",
"enum": [
"netscape"
]
},
{
"type": "string",
"enum": [
"header"
]
}
]
},
"in": "query",
"name": "format",
"required": false
},
{
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"in": "path",
"name": "id",
"required": true
}
]Request body#
No request body declared.
Responses#
200 · Default response
OpenAPI JSON
{
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"format",
"count",
"cookies",
"content"
],
"properties": {
"format": {
"type": "string"
},
"count": {
"type": "integer"
},
"cookies": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value",
"domain",
"host_only",
"path",
"expires",
"http_only",
"secure",
"same_site",
"session",
"partition_key",
"priority",
"source_scheme",
"source_port",
"creation",
"last_access"
],
"properties": {
"firefox": {
"type": "object",
"required": [
"partition_key",
"partitioned",
"user_context_id"
],
"properties": {
"partition_key": {
"type": "string"
},
"partitioned": {
"type": "boolean"
},
"user_context_id": {
"type": "integer"
}
}
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"domain": {
"type": "string"
},
"host_only": {
"type": "boolean"
},
"path": {
"type": "string"
},
"expires": {
"type": [
"null",
"number"
]
},
"http_only": {
"type": "boolean"
},
"secure": {
"type": "boolean"
},
"same_site": {
"type": "string"
},
"session": {
"type": "boolean"
},
"partition_key": {
"anyOf": [
{
"type": "object",
"required": [
"top_level_site",
"has_cross_site_ancestor"
],
"properties": {
"top_level_site": {
"type": "string"
},
"has_cross_site_ancestor": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"priority": {
"type": [
"null",
"string"
]
},
"source_scheme": {
"type": [
"null",
"string"
]
},
"source_port": {
"type": [
"null",
"integer"
]
},
"creation": {
"type": [
"null",
"number"
]
},
"last_access": {
"type": [
"null",
"number"
]
}
}
}
},
"content": {
"type": "string"
}
}
}
}
}
}default · HTTP error envelope. The status and error.code identify the failure.
OpenAPI JSON
{
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}General authentication and transport errors may occur in addition to the documented responses.
OpenAPI definition#
Complete operation definition
OpenAPI JSON
{
"summary": "Cookies eines Profils lesen (laufend über CDP, sonst über eine unsichtbare Wartungssitzung des Kerns)",
"tags": [
"Cookies"
],
"parameters": [
{
"schema": {
"anyOf": [
{
"type": "string",
"enum": [
"json"
]
},
{
"type": "string",
"enum": [
"netscape"
]
},
{
"type": "string",
"enum": [
"header"
]
}
]
},
"in": "query",
"name": "format",
"required": false
},
{
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"in": "path",
"name": "id",
"required": true
}
],
"x-required-scopes": [
"cookies:read"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"format",
"count",
"cookies",
"content"
],
"properties": {
"format": {
"type": "string"
},
"count": {
"type": "integer"
},
"cookies": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value",
"domain",
"host_only",
"path",
"expires",
"http_only",
"secure",
"same_site",
"session",
"partition_key",
"priority",
"source_scheme",
"source_port",
"creation",
"last_access"
],
"properties": {
"firefox": {
"type": "object",
"required": [
"partition_key",
"partitioned",
"user_context_id"
],
"properties": {
"partition_key": {
"type": "string"
},
"partitioned": {
"type": "boolean"
},
"user_context_id": {
"type": "integer"
}
}
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"domain": {
"type": "string"
},
"host_only": {
"type": "boolean"
},
"path": {
"type": "string"
},
"expires": {
"type": [
"null",
"number"
]
},
"http_only": {
"type": "boolean"
},
"secure": {
"type": "boolean"
},
"same_site": {
"type": "string"
},
"session": {
"type": "boolean"
},
"partition_key": {
"anyOf": [
{
"type": "object",
"required": [
"top_level_site",
"has_cross_site_ancestor"
],
"properties": {
"top_level_site": {
"type": "string"
},
"has_cross_site_ancestor": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"priority": {
"type": [
"null",
"string"
]
},
"source_scheme": {
"type": [
"null",
"string"
]
},
"source_port": {
"type": [
"null",
"integer"
]
},
"creation": {
"type": [
"null",
"number"
]
},
"last_access": {
"type": [
"null",
"number"
]
}
}
}
},
"content": {
"type": "string"
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}