v38

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-1793196344.2 KB
Context Documents

Generate context docs folder structure in Google Drive

Generate context documents and write them to Google Drive.

Creates the full folder structure (context-docs/, company/, workstreams/) with CLAUDE.md files and synthesized documents. Requires a Google Drive connection with write access.

This is a synchronous endpoint — it runs all prompts in parallel and creates the Drive structure before returning. Expect 1-3 minutes.

post/context-documents/drive-export

Request body

workstream_namestring nullable

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

Response

Successful Response

statusstring required
folder_countinteger required
doc_countinteger required
workstreamsobject[] required
resource_countinteger required