Documents
Returns a single document by id. For file-backed documents the response includes a short-lived, pre-signed file_url (valid ~1 hour) you can use to download or preview the original file. Returns 404 if the document does not exist in your project.
curl --request GET \
--url 'https://api.nabrah.ai/api/ext/document/<document_id>' \
--header 'X-API-Key: <your-api-key>'{
"id": "00000000-0000-4000-8000-000000000000",
"knowledge_base_id": "00000000-0000-4000-8000-000000000000",
"type": "file",
"status": "unknown",
"title": "string",
"summary": "string",
"filename": "string",
"created_at": "2026-01-15T12:00:00.000Z",
"updated_at": "2026-01-15T12:00:00.000Z",
"file_url": "string"
}X-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
document_idstringrequiredIdentifier of the document to fetch.
From GET /api/ext/document or the add-document response.
Successful Response
application/json
Validation Error
application/json