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.
POST /v1/documents//versions//restore
POST /v1/documents/{document_id}/versions/{version_number}/restore
X-API-Key
document_id
version_number
curl -X POST https://api.surfacedocs.dev/v1/documents/doc_abc123/versions/1/restore \ -H "X-API-Key: sd_live_..."
{ "id": "doc_abc123", "url": "https://app.surfacedocs.dev/d/doc_abc123", "version": 4, "version_count": 4, "title": "Daily Report — Feb 13", "block_count": 2, "created_at": "2026-02-14T11:00:00Z" }