Documents
Fetch an archived document version
Returns the exact content and annotations the document held at a given version, which is what lets a run that cited a version read what it read.
get/v1/projects/{project_id}/documents/{document_id}/versions/{version}
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/documents/{document_id}/versions/{version}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
document_idstring required
versioninteger required
Response
Archived document version
Example response
{
"id": "doc_ver_V1StGXR8Z5jdHi6B",
"document_id": "doc_V1StGXR8Z5jdHi6B",
"version": 1,
"label": "pre-correction",
"created_by_principal_type": "user",
"created_by_principal_id": "user_V1StGXR8Z5jdHi6B"
}Changes
No recorded changes to this operation across all 1 revision of this API.