get_document
Retrieve a specific Paperless document by its ID, including correspondent, document type, tags, and custom fields. Excludes content by default — use get_document_content for full text. Ideal for quick metadata lookup or document details.
Instructions
Get a specific document by ID with full details including correspondent, document type, tags, and custom fields. Note: Document content is excluded from results by default. Use 'get_document_content' to retrieve content when needed. Documents can have several file versions (versions; manage them with upload_document_version / update_document_version / delete_document_version). Content (get_document_content) and get_document_metadata follow the LATEST version, but page_count, original_file_name and archived_file_name always describe the ROOT (first) version — e.g. after a password-protected PDF was unlocked into a new version, page_count stays null. Don't use page_count to judge whether a document is readable; check its content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |