Doc body
Read the doc body
Returns the workspace's doc body as ProseMirror JSON. 403 if the workspace is in table mode.
get/api/workspaces/{slug}/doc
Request
- Base URLhttps://trydock.ai
- AuthHTTP bearer
Path parameters
slugstring required
Query parameters
surfacestring
Surface slug for multi-doc workspaces. Omit for the primary doc surface.
format'json' | 'markdown' | 'text'
Response shape: json (ProseMirror, default) · markdown (CommonMark + GFM, useful for LLM context or textual diff) · text (plain text, no formatting marks). Overrides Accept header.
Response
Doc body.
Changes
No recorded changes to this operation across all 2 revisions of this API.