Skip to main content
POST
Generate context docs folder structure in Google Drive

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Body

application/json

Request body for POST /context-documents/drive-export.

workstream_name
string | null

Generate docs for this workstream only (skip auto-detection). Used for the demo.

Response

Successful Response

status
string
required
folder_count
integer
required
doc_count
integer
required
workstreams
Workstreams · object[]
required
resource_count
integer
required