Plans

Download a plan's Context as a zip archive

GET
/v1/projects/{projectSlug}/plans/{planShortId}/context/download

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

projectSlug*string

Project slug, e.g. recipe-box.

planShortId*string

Plan handle within the project, e.g. PLAN-12.

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/projects/string/plans/string/context/download"
"string"