Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/documents//versions/
GET /v1/documents/{document_id}/versions/{version_number}
X-API-Key
document_id
version_number
curl https://api.surfacedocs.dev/v1/documents/doc_abc123/versions/1 \ -H "X-API-Key: sd_live_..."
{ "version": 1, "title": "Daily Report — Feb 13", "content_type": "markdown", "metadata": {"generated_at": "2026-02-13"}, "blocks": [ { "id": "blk_001", "order": 0, "type": "heading", "content": "Summary", "metadata": {"level": 1} }, { "id": "blk_002", "order": 1, "type": "paragraph", "content": "Revenue: $38,000", "metadata": null } ], "created_at": "2026-02-13T10:00:00Z" }