Context

Download the workspace's Context as a zip archive

GET
/v1/context/download

Authorization

bearerAuth
AuthorizationBearer <token>

A personal API key (psk_…) or an OAuth access token (plan_at_…). Scopes: read, write.

In: header

Query Parameters

folder?string

Only this folder and everything under it, e.g. research/interviews. An unknown folder is a 400.

only?string

Only these entries: comma-separated ids from the context list (documents) or the manifest (agent files). An id this scope does not own is a 400 that names it, never skipped.

Response Body

application/zip

application/json

application/json

application/json

curl -X GET "https://example.com/v1/context/download"
"string"