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
X-API-Key
document_id
curl https://api.surfacedocs.dev/v1/documents/doc_abc123/versions \ -H "X-API-Key: sd_live_..."
{ "versions": [ { "version": 1, "title": "Daily Report — Feb 13", "block_count": 5, "created_at": "2026-02-13T10:00:00Z" }, { "version": 2, "title": "Daily Report — Feb 14", "block_count": 6, "created_at": "2026-02-14T10:30:00Z" } ], "current_version": 2 }