v1

latestOpenAPI 3.0.3MIT2026-07-24122271451.2 KB
Documents

[Beta] Document Content

Returns the document content for the specified document. Use query parameter format to select the content format.

get/public/beta/documents/{document_id}/content

Path parameters

document_idstring required

The unique identifier of the document.

Query parameters

format'plaintext' | 'markdown' required

Format selector for document content (query format and JSON format on 200).

Document content representation to return.

Response

Document content is available. JSON object with format and content (see schema). Includes ETag and Vary: format.

format'plaintext' | 'markdown' required

Format selector for document content (query format and JSON format on 200).

contentstring required

Document body as plain text (format=plaintext) or markdown (format=markdown).