Retrieve a document

Retrieves detailed information about a specific document by its ID.

This endpoint returns the document’s metadata, status, and system information. It does not return the document’s content - use the /documents/{id}/download endpoint for that.

Users can only retrieve documents they own or have access to through collections. Superusers can retrieve any document.

Path parameters

idstringRequired

The ID of the document to retrieve.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-API-KeystringRequired

Response

Successful Response

resultsobject

Base class for document information handling.

Errors