get_document
Retrieve a document by its ID from Paperless. Optionally include the OCR content for full text access.
Instructions
Fetch one document by ID.
By default, the OCR content is stripped to keep responses small.
Pass include_content=True for the full text, or call
get_document_content to retrieve just the text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ||
| include_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tags | No | ||
| added | No | ||
| notes | No | ||
| owner | No | ||
| title | Yes | ||
| content | No | ||
| created | Yes | ||
| web_url | No | ||
| modified | No | ||
| page_count | No | ||
| created_date | No | ||
| storage_path | No | ||
| correspondent | No | ||
| custom_fields | No | ||
| document_type | No | ||
| user_can_change | No | ||
| archived_file_name | No | ||
| original_file_name | No | ||
| archive_serial_number | No |