Get document
paperless_get_documentRetrieve a single document's metadata, extracted text, notes, and custom fields by ID to read its full contents after searching.
Instructions
Fetch one document by id: metadata with names resolved, plus its extracted text, notes and custom field values. Use this after paperless_search_documents to read a document’s contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id. | |
| version | No | Resolve content against a specific document version id. | |
| include_content | No | Include the extracted text. | |
| include_metadata | No | Also fetch file-level metadata (media filename, checksum, size, PDF fields). | |
| content_max_chars | No | Truncate the extracted text at this many characters. |