Restore a document another session archived, keeping your current edits (web app).
Restore (un-archive) a document that was archived, re-linking it to this session and bringing its content back. document_id is the session-local id (same as /save); the durable id is recovered from the cached document. Idempotent: restoring an already-active (or never-archived) document is a no-op. Non-billable.
Two shapes: WITHOUT a body (e.g. an AI agent restoring a document by id) the archived content is restored as-is; WITH a body carrying the current editor HTML (the web app's "keep editing (restores it)" choice after another session deleted the document) the document is restored AND the supplied edits are saved on top, so it converges for everyone.
Request
- Base URL: https://api.superdocs.app
- URL: https://api.superdocs.app/v1/sessions/{session_id}/documents/{document_id}/unarchive
- Auth: HTTP bearer
Path parameters
Headers
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.