About Paperless
Paperless is an MCP server published by OrellBuehler in the RAG category: mCP server for Paperless-ngx — lets AI agents like Claude search, upload, tag, and organize your documents, with optional local semantic search. Conduid read 126 tools from its source: acknowledge_tasks, add_document_note, auto_classify_document, bulk_download_documents, bulk_edit_documents, bulk_set_object_permissions and 120 more. It is published to npm as @orellbuehler/paperless-mcp and starts with npx.
The repository has 34 stars and 6 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v1.4.1 (10 Oct 2026). It follows v1.4.0 (23 Sep 2026), and the 5 most recent releases go back to v1.1.0 (31 May 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include docker, document-management, ollama, paperless, paperless-ngx and self-hosted.
Install
claude mcp add paperless-0152 -- npx -y @orellbuehler/paperless-mcpnpx -y @orellbuehler/paperless-mcpgit clone https://github.com/OrellBuehler/paperless-mcpTools (126)
acknowledge_tasksDismiss background tasks from the tasks list| Parameter | Type | Description |
|---|---|---|
| tasks * | array | Task IDs to acknowledge |
add_document_noteAdd a note/comment to a document| Parameter | Type | Description |
|---|---|---|
| format | string | How the note is rendered (server default plain). Paperless-ngx 3.5+ |
| id * | number | Document ID |
| note * | string | Note text |
auto_classify_documentAI-assisted classification and bulk operations| Parameter | Type | Description |
|---|---|---|
| apply_correspondent | boolean | Apply suggested correspondent (default true) |
| apply_document_type | boolean | Apply suggested document type (default true) |
| apply_storage_path | boolean | Apply suggested storage path (default true) |
| apply_tags | boolean | Apply suggested tags (default true) |
| id * | number | Document ID |
bulk_download_documentsDownload several documents as a single zip archive written to disk| Parameter | Type | Description |
|---|---|---|
| compression | string | |
| content | string | Which file versions to include |
| documents * | array | Document IDs |
| follow_formatting | boolean | Lay the zip out using the storage path filename format |
| output_path * | string | Absolute path to write the .zip file to |
bulk_edit_documentsPerform bulk operations on multiple documents by ID. Methods and parameters: set_correspondent { correspondent: id | null }; set_document_type { document_type: id | null }; set_storage_path { storage_path: id | null }; add_tag / remove_tag { tag: id }; modify_tags { add_tags: id[], remove_tags: id[] } (both required); modify_custom_fields { add_custom_fields: id[] | { id: value }, remove_custom_fields: id[] } (both required); set_permissions { set_permissions: { view, change } | null, owner?: id | null, merge?: boolean }; delete (moves to the trash); reprocess { remote_ocr?: boolean (3.1+) }; run_workflow { workflow: id, filter_documents?: boolean } (3.5+, see run_workflow); rotate { degrees }, merge, split { pages: '1-2,5' }, delete_pages { pages: number[] }, edit_pdf { operations } and remove_password { password } (3.0+ only), for which the dedicated tools are preferred on 3.0+. On Paperless-ngx 3.5+ every method is queued: the response is { result: "OK", task_id } and the change is applied in the background, so documents may not reflect it yet. Check the task with list_tasks (task_id) before relying on the result. Older servers apply the change before responding.bulk_set_object_permissionsSet owner and/or view/change permissions on many tags, correspondents, document types or storage paths at once (e.g. share a whole taxonomy with a household group). Saved views and custom fields are not supported here — update those individually with set_permissions.| Parameter | Type | Description |
|---|---|---|
| merge | boolean | Merge with existing permissions instead of replacing them (default false) |
| object_type * | string | |
| objects * | array | IDs of the objects to update |
bulk_tag_by_contentAI-assisted classification and bulk operations| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | If true, only return matching documents without tagging |
| query * | string | Search query to find matching documents |
| tag_id * | number | Tag ID to add to matching documents |
create_correspondentCreate a new correspondent| Parameter | Type | Description |
|---|---|---|
| is_insensitive | boolean | |
| match | string | Auto-matching pattern |
| matching_algorithm | number | 1=any, 2=all, 3=literal, 4=regex, 5=fuzzy, 6=auto |
| name * | string |
create_custom_fieldCreate a new custom field| Parameter | Type | Description |
|---|---|---|
| data_type * | string | Field data type |
| extra_data | object | For 'select': { select_options: [{ label }] }. For 'monetary': { default_currency } |
| name * | string |
create_document_typeCreate a new document type| Parameter | Type | Description |
|---|---|---|
| is_insensitive | boolean | |
| match | string | |
| matching_algorithm | number | 1=any, 2=all, 3=literal, 4=regex, 5=fuzzy, 6=auto |
| name * | string |
create_groupCreate a new group (requires Paperless admin privileges)| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| permissions | array | Permission codenames like 'documents.view_document' |
create_mail_accountCreate a new mail accountcreate_mail_ruleCreate a new mail rulecreate_saved_viewCreate a new saved view. Always sent as API v9, even when another version is configured: Paperless-ngx 3.0+ dropped show_on_dashboard/show_in_sidebar from saved views in v10 and keeps them in the user's UI settings, which its v9 compatibility layer updates server-side and reports back.| Parameter | Type | Description |
|---|---|---|
| filter_rules * | array | Filter rules: rule_type is a Paperless filter code (e.g. 0=title contains, 3=correspondent id, 6=has tag, 19=ASN, 50=has duplicates on Paperless-ngx 3.2+); value is the matched value as a string. |
| name * | string | |
| page_size | number | |
| show_in_sidebar * | boolean | |
| show_on_dashboard * | boolean | |
| sort_field | string | Field to sort by, e.g. 'created' |
| sort_reverse | boolean |
create_share_linkCreate a public share link for a document. Anyone with the returned slug URL can read it.| Parameter | Type | Description |
|---|---|---|
| document * | number | Document ID |
| expiration | string | ISO 8601 datetime when the link stops working, or null for no expiry |
| file_version | string | Which file version the link serves |
create_share_link_bundleCreate a share link bundle serving several documents as one zip. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| document_ids * | array | Document IDs to include |
| expiration_days | number | Days until the link expires |
create_storage_pathCreate a new storage path| Parameter | Type | Description |
|---|---|---|
| is_insensitive | boolean | |
| match | string | |
| matching_algorithm | number | 1=any, 2=all, 3=literal, 4=regex, 5=fuzzy, 6=auto |
| name * | string | |
| path * | string | Path template, e.g. '{{ owner_username }}/{{ correspondent }}/{{ created_year }}/{{ title }}' |
create_tagCreate a new tag| Parameter | Type | Description |
|---|---|---|
| color | string | Hex color like #ff0000 |
| is_inbox_tag | boolean | |
| is_insensitive | boolean | |
| match | string | |
| matching_algorithm | number | 1=any, 2=all, 3=literal, 4=regex, 5=fuzzy, 6=auto |
| name * | string |
create_userCreate a new user (requires Paperless admin privileges)| Parameter | Type | Description |
|---|---|---|
| string | ||
| first_name | string | |
| groups | array | Group IDs |
| is_active | boolean | |
| is_staff | boolean | |
| is_superuser | boolean | |
| last_name | string | |
| password | string | |
| user_permissions | array | Permission codenames like 'documents.view_document'. Call get_user/get_group to see valid strings. |
| username * | string |
create_workflowCreate a new workflow with inline triggers and actions| Parameter | Type | Description |
|---|---|---|
| enabled | boolean | |
| name * | string | |
| order | number |
delete_correspondentDelete a correspondent| Parameter | Type | Description |
|---|---|---|
| id * | number |
delete_documentDelete a document| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
delete_document_noteDelete a note from a document| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
| note_id * | number | Note ID to delete |
delete_document_typeDelete a document type| Parameter | Type | Description |
|---|---|---|
| id * | number |
delete_document_versionDelete one version of a document. The root version cannot be deleted. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
| version_id * | number | Version ID |
delete_storage_pathDelete a storage path. Documents using it keep their files but lose the storage path assignment.| Parameter | Type | Description |
|---|---|---|
| id * | number |
delete_tagDelete a tag| Parameter | Type | Description |
|---|---|---|
| id * | number |
download_documentDownload a document's content. Text files are returned as text and PNG/JPEG/GIF/WebP images (up to 5 MB) as image content; image documents are usually archived as PDF, so pass original: true to get the image; other binary files such as PDFs return only their size, or with as_file: true the file itself (up to 10 MB) as an embedded resource. For PDFs use get_document_thumbnail to see the first page, find_document_pages to locate text, or get_document for the OCR text.| Parameter | Type | Description |
|---|---|---|
| as_file | boolean | Return binary files such as PDFs as an embedded resource (base64 blob) instead of the size summary. Needs a client that can handle embedded binary resources |
| id * | number | Document ID |
| original | boolean | Download original instead of archived version |
edit_pdf_documentReorder, rotate, split or delete pages of a document. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| delete_original | boolean | |
| documents * | array | Document IDs (normally exactly one) |
| include_metadata | boolean | |
| operations * | array | Page operations. Each object: { page: number (1-based source page), rotate?: 0|90|180|270, doc?: number (output document index for splitting) }. Omit a page to delete it. |
| update_document | boolean | Update the existing document in place instead of creating a new one |
email_documentEmail a single document as an attachment| Parameter | Type | Description |
|---|---|---|
| addresses * | string | Comma-separated recipient email addresses |
| id * | number | Document ID |
| message * | string | |
| subject * | string | |
| use_archive_version | boolean | Send the archived PDF instead of the original file |
email_documentsEmail several documents as attachments in one message| Parameter | Type | Description |
|---|---|---|
| addresses * | string | Comma-separated recipient email addresses |
| documents * | array | Document IDs |
| message * | string | |
| subject * | string | |
| use_archive_version | boolean | Send the archived PDFs instead of the original files |
embedding_statusVector similarity search using local sqlite-vec databaseempty_trashPermanently delete trashed documents. This cannot be undone. Omit `documents` to empty the entire trash.| Parameter | Type | Description |
|---|---|---|
| documents | array | Document IDs to purge; omit to purge everything in the trash |
extract_document_pagesExtract pages into a new PDF file or find the pages containing a text snippet — processed locally, without modifying the document in Paperless| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
| original | boolean | Use the original file instead of the archived version |
| output_path * | string | Absolute path to write the extracted .pdf to |
| pages * | array | 1-based page numbers, kept in the given order |
find_document_pagesExtract pages into a new PDF file or find the pages containing a text snippet — processed locally, without modifying the document in Paperless| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
| original | boolean | Search the original file instead of the archived version |
| query * | string | Text to search for (case-insensitive) |
get_active_tasksCurrently pending and running tasks (capped at 50). Requires Paperless-ngx 3.0+. Task fields follow the API version, as in list_tasks.get_configGet the Paperless application configuration (OCR and barcode settings)get_correspondentGet a single correspondent by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_custom_fieldGet a single custom field by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_documentGet a single document by ID, including its full OCR text content and, on Paperless-ngx 3.x, duplicate_documents (other visible documents with the same content; only filled in here, not in list results)| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_ai_suggestionsGet LLM-generated suggestions for a document (title, tags, correspondent, dates). Requires Paperless-ngx 3.0+ with an AI backend configured.| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_contentExtract OCR'd text content from documents| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
| max_length | number | Truncate content to this many characters |
get_document_historyGet a document's audit trail: who changed which field, and when| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_metadataGet metadata (original filename, checksum, dates, etc.) for a document. On Paperless-ngx 3.3+ with barcode storage enabled (update_config barcode_store_values), also lists the document's barcodes as { page, value, format }| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_notesGet notes/comments on a document| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_rootGet the root document ID for a document version. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_share_linksList all share links pointing at one document| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_suggestionsGet AI-generated suggestions for correspondent, type, tags, and dates| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_thumbnailGet a document's thumbnail (a preview of its first page) as an image, for vision-capable models| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
get_document_typeGet a single document type by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_documentsGet full details (including OCR text content) for one or more documents by ID. Use this after list_documents/search_documents, which return metadata only.| Parameter | Type | Description |
|---|---|---|
| ids * | array | Document IDs to fetch in full |
| max_content_length | number | Truncate each document's content to this many characters |
get_documents_by_correspondentConvenience tools for common workflows| Parameter | Type | Description |
|---|---|---|
| name * | string | Correspondent name (partial match) |
| page | number | |
| page_size | number |
get_groupGet a single group by ID. Reveals the permission-string format used by permissions.| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_logRead one server log file's contents| Parameter | Type | Description |
|---|---|---|
| id * | string | Log name, e.g. paperless or mail |
get_mail_accountGet a single mail account by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_mail_ruleGet a single mail rule by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_next_asnGet the next available archive serial numberget_profileGet the current user's profile (email, first/last name, social accounts)get_remote_versionCheck whether a newer Paperless-ngx release is available upstreamget_saved_viewGet a single saved view by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_selection_dataGet tag, correspondent and document type counts across a set of documents. Useful for deciding a bulk edit before running it.| Parameter | Type | Description |
|---|---|---|
| documents * | array | Document IDs |
get_share_linkGet a single share link by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_share_link_bundleGet a single share link bundle by ID. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_statisticsGet document statistics (total count, inbox count, etc.)get_statusGet Paperless-ngx server statusget_storage_pathGet a single storage path by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_tagGet a single tag by ID| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_task_status_countsCounts of tasks grouped by status. Requires Paperless-ngx 3.0+.get_task_summaryAggregated task statistics per task type. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| days | number | Look-back window in days (1-365, default 30) |
get_ui_settingsGet the current user's UI settings, permissions and display preferencesget_userGet a single user by ID. Reveals the permission-string format used by user_permissions.| Parameter | Type | Description |
|---|---|---|
| id * | number |
get_workflowGet a single workflow by ID, including its triggers and actions| Parameter | Type | Description |
|---|---|---|
| id * | number |
list_correspondentsList all correspondents (senders/recipients)| Parameter | Type | Description |
|---|---|---|
| name__icontains | string | |
| ordering | string | |
| page | number | |
| page_size | number |
list_custom_fieldsList all custom fields| Parameter | Type | Description |
|---|---|---|
| page | number | |
| page_size | number |
list_document_typesList all document types| Parameter | Type | Description |
|---|---|---|
| name__icontains | string | |
| ordering | string | |
| page | number | |
| page_size | number |
list_documentsList documents with optional filtering, searching and pagination. Returns metadata only (no OCR content) — use get_document or get_documents for full text.| Parameter | Type | Description |
|---|---|---|
| added__date__gt | string | Added after (YYYY-MM-DD), exclusive |
| added__date__gte | string | Added on or after (YYYY-MM-DD), inclusive |
| added__date__lt | string | Added before (YYYY-MM-DD), exclusive |
| added__date__lte | string | Added on or before (YYYY-MM-DD), inclusive |
| correspondent__id | number | |
| correspondent__id__in | array | Must have one of these correspondents |
| created__date__gt | string | Created after (YYYY-MM-DD), exclusive |
| created__date__gte | string | Created on or after (YYYY-MM-DD), inclusive |
| created__date__lt | string | Created before (YYYY-MM-DD), exclusive |
| created__date__lte | string | Created on or before (YYYY-MM-DD), inclusive |
| custom_field_query | string | JSON custom field query expression, e.g. ["Betrag", "gt", 100] or ["AND", [["Steuerjahr", "exact", "2025"], ["Betrag", "exists", true]]]. Date fields also accept relative expressions that are resolved when the query runs (Paperless-ngx 3.4+), e.g. ["Ablauf", "range", ["today", "in 30 days"]] or ["Ablauf", "lt", "1 month ago"] |
| document_type__id | number | |
| document_type__id__in | array | Must have one of these document types |
| has_duplicates | boolean | true: only documents that share their content (same original or archive checksum) with another document you can view, trashed ones included; false: only those that do not. Paperless-ngx 3.2+; get_document lists a document's duplicate_documents |
| is_in_inbox | boolean | |
| ordering | string | Field to order by, prefix with - for descending |
| page | number | |
| page_size | number | |
| query | string | Full-text search query. Advanced syntax: AND/OR/NOT in capitals, "exact phrase", field:value such as title:invoice, tag:bills, correspondent:"acme corp", notes.note:text, custom_fields.value:text. With Paperless-ngx 3.3+ and barcode storage enabled (update_config barcode_store_values), barcodes:<value> (same as barcodes.value:) and barcodes.format:<type> (e.g. barcodes.format:qrcode) search stored barcode contents; the barcodes themselves are listed by get_document_metadata |
| storage_path__id | number | |
| tags__id__all | array | Must have ALL these tags |
| tags__id__in | array | Must have at least one of these tags |
| title__icontains | string |
list_groupsList all groups| Parameter | Type | Description |
|---|---|---|
| ordering | string | |
| page | number | |
| page_size | number |
list_logsList the available server log fileslist_mail_accountsList configured email accounts that Paperless polls for documents| Parameter | Type | Description |
|---|---|---|
| page | number | |
| page_size | number |
list_mail_rulesList mail rules (which messages get consumed, and how they are tagged)| Parameter | Type | Description |
|---|---|---|
| page | number | |
| page_size | number |
list_processed_mailList mail messages Paperless has already processed (useful for debugging why a mail was skipped)| Parameter | Type | Description |
|---|---|---|
| page | number | |
| page_size | number | |
| rule | number | Filter by mail rule ID |
list_saved_viewsList all saved views| Parameter | Type | Description |
|---|---|---|
| page | number | |
| page_size | number |
list_share_link_bundlesList share link bundles (one link serving a zip of several documents). Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| page | number | |
| page_size | number |
list_share_linksList public share links| Parameter | Type | Description |
|---|---|---|
| page | number | |
| page_size | number |
list_storage_pathsList all storage paths| Parameter | Type | Description |
|---|---|---|
| name__icontains | string | |
| page | number | |
| page_size | number |
list_tagsList all tags| Parameter | Type | Description |
|---|---|---|
| is_inbox_tag | boolean | |
| name__icontains | string | |
| ordering | string | |
| page | number | |
| page_size | number |
list_tasksList background tasks (consumption, etc.). The response is passed through in the shape of the negotiated API version: v9 returns a plain array with task_name, type and uppercase status; v10 (Paperless-ngx 3.0+) returns a paginated { count, next, previous, results } with task_type, trigger_source and lowercase status. Filters use v10 names and are translated for v9.| Parameter | Type | Description |
|---|---|---|
| acknowledged | boolean | |
| page | number | v10 only; v9 is unpaginated |
| page_size | number | v10 only; v9 is unpaginated |
| status | string | pending, started, success, failure or revoked. Lowercased under v10; under v9 sent as given, which must be lowercase on Paperless-ngx 3.x and uppercase (e.g. SUCCESS) on 2.x |
| task_id | string | Celery task UUID, e.g. as returned by upload or, on Paperless-ngx 3.5+, by bulk edits |
| task_type | string | e.g. consume_file, train_classifier, sanity_check, index_optimize, llm_index, bulk_update or bulk_delete (bulk edits on Paperless-ngx 3.5+) |
list_trashList documents currently in the trash, with the date each is permanently removed| Parameter | Type | Description |
|---|---|---|
| page | number | |
| page_size | number |
list_usersList all users| Parameter | Type | Description |
|---|---|---|
| ordering | string | |
| page | number | |
| page_size | number |
list_workflowsList all Paperless workflows (document automation; replaces the old consumption templates)| Parameter | Type | Description |
|---|---|---|
| enabled | boolean | Filter by enabled state. Paperless-ngx 3.5+ |
| page | number | |
| page_size | number | |
| trigger_type | number | Only workflows with a trigger of this type (1=consumption, 2=added, 3=updated, 4=scheduled, 5=manual). Paperless-ngx 3.5+ |
merge_documentsMerge several documents into one new document. Requires Paperless-ngx 3.0+ (use bulk_edit_documents on older servers).| Parameter | Type | Description |
|---|---|---|
| archive_fallback | boolean | Use the archived version when an original is not a PDF |
| delete_originals | boolean | |
| documents * | array | Document IDs, merged in this order |
| metadata_document_id | number | Copy metadata from this document onto the merged result |
merge_documents_as_versionsMerge existing documents into one as file versions of a chosen root document. The other documents stop being separate documents: they become versions of the root, which keeps its metadata, and they give up their archive serial number (the root takes one if it has none). Only top-level documents can be merged, and documents that have versions of their own cannot be merged into another. You must own the documents and have permission to delete documents. Requires Paperless-ngx 3.1+. On 3.5+ the request is queued and the response contains a task_id (check it with list_tasks).| Parameter | Type | Description |
|---|---|---|
| documents * | array | Document IDs to merge, including the root |
| root_document_id * | number | The document that keeps its identity; one of `documents` |
| version_label | string | Label for the new version (max 64 characters); only allowed when merging a single other document, i.e. `documents` has two entries |
monthly_summaryConvenience tools for common workflows| Parameter | Type | Description |
|---|---|---|
| month * | number | Month (1-12) |
| year * | number | Year (e.g. 2024) |
process_inboxAI-assisted classification and bulk operations| Parameter | Type | Description |
|---|---|---|
| limit | number | Max documents to process (default 20) |
process_mail_accountTrigger an immediate mail fetch for one account instead of waiting for the schedule| Parameter | Type | Description |
|---|---|---|
| id * | number | Mail account ID |
rebuild_share_link_bundleRebuild a share link bundle's zip after its documents changed. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| id * | number |
remove_document_passwordStrip password protection from encrypted PDFs. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| delete_original | boolean | |
| documents * | array | Document IDs |
| include_metadata | boolean | |
| password * | string | Password that unlocks the PDFs |
| update_document | boolean |
reprocess_documentsRe-run OCR and archive generation for documents. Requires Paperless-ngx 3.0+ (use bulk_edit_documents on older servers).| Parameter | Type | Description |
|---|---|---|
| remote_ocr | boolean | Send the documents to the configured remote OCR engine instead of OCRing locally (default false). Paperless-ngx 3.1+ |
restore_from_trashRestore trashed documents back into the archive| Parameter | Type | Description |
|---|---|---|
| documents * | array | Document IDs to restore |
rotate_documentsRotate documents by a multiple of 90 degrees. Requires Paperless-ngx 3.0+ (use bulk_edit_documents on older servers).| Parameter | Type | Description |
|---|---|---|
| degrees * | number | Rotation in degrees; must be a multiple of 90 |
run_taskManually dispatch a background task. Superuser only, and requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| task_type * | string | Which task to run |
run_workflowManually run a workflow on existing documents. The workflow must be enabled and have a manual trigger (type 5); find candidates with list_workflows (trigger_type 5). Requires Paperless-ngx 3.5+. You need view permission on workflows and must own the documents (or they must be unowned). The workflow runs in the background and the response contains a task_id; check it with list_tasks.| Parameter | Type | Description |
|---|---|---|
| documents * | array | Document IDs |
| filter_documents | boolean | Apply the workflow's trigger filters and skip documents that do not match (server default true). Pass false to run it on every given document regardless of the filters |
| workflow * | number | Workflow ID |
search_autocompleteGet autocomplete suggestions for a search term| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| term * | string | Partial search term |
search_documentsFull-text search across all documents. Returns metadata only (no OCR content) — use get_document or get_documents for full text. This is Paperless's global search and returns at most 3 documents; on 3.x it does simple text matching without field syntax. Use list_documents with query for field searches such as barcodes:.| Parameter | Type | Description |
|---|---|---|
| db_only | boolean | Search database only, skip full-text index |
| query * | string | Search query |
semantic_searchVector similarity search using local sqlite-vec database| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 10) |
| query * | string | Natural language search query |
set_document_version_labelRename one version of a document. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID |
| version_id * | number | Version ID |
| version_label * | string | New label; pass an empty string to clear it |
sync_embeddingsVector similarity search using local sqlite-vec database| Parameter | Type | Description |
|---|---|---|
| force | boolean | Force re-embedding of all documents |
test_mail_accountTest mail account credentials without saving them. Pass the full connection details.test_storage_pathPreview the filename a storage path template produces for a document, without saving anything| Parameter | Type | Description |
|---|---|---|
| document * | number | Document ID to render the template against |
| path * | string | Storage path template, e.g. {created_year}/{correspondent}/{title} |
update_configUpdate the Paperless application configuration (partial update). Affects OCR and barcode handling for future consumption.| Parameter | Type | Description |
|---|---|---|
| app_logo | string | |
| app_title | string | |
| archive_file_generation | string | When to create the archive file: auto, always, never. Paperless-ngx 3.x |
| barcode_asn_prefix | string | |
| barcode_dpi | number | |
| barcode_enable_asn | boolean | |
| barcode_enable_tag | boolean | |
| barcode_enable_tiff_support | boolean | |
| barcode_max_pages | number | |
| barcode_retain_split_pages | boolean | |
| barcode_store_values | boolean | Store the content of every detected barcode with the document so it can be listed and searched. Paperless-ngx 3.3+ |
| barcode_string | string | |
| barcode_tag_mapping | object | |
| barcode_upscale | number | |
| barcodes_enabled | boolean | |
| color_conversion_strategy | string | |
| deskew | boolean | |
| id * | number | Configuration ID, normally 1 |
| image_dpi | number | |
| language | string | OCR language, e.g. deu or eng |
| max_image_pixels | number | |
| mode | string | OCR mode. Paperless-ngx 3.x: auto, redo, force, off. 2.x: skip, redo, force, skip_noarchive |
| output_type | string | e.g. pdfa, pdf |
| pages | number | Limit OCR to the first N pages |
| rotate_pages | boolean | |
| rotate_pages_threshold | number | |
| skip_archive_file | string | Paperless-ngx 2.x only (never, with_text, always); 3.x uses archive_file_generation |
| unpaper_clean | string | |
| user_args | object | Extra OCRmyPDF arguments |
update_correspondentUpdate an existing correspondent (partial update)| Parameter | Type | Description |
|---|---|---|
| id * | number | |
| is_insensitive | boolean | |
| match | string | Auto-matching pattern |
| matching_algorithm | number | 1=any, 2=all, 3=literal, 4=regex, 5=fuzzy, 6=auto |
| name | string |
update_custom_fieldUpdate an existing custom field (partial update)| Parameter | Type | Description |
|---|---|---|
| extra_data | object | |
| id * | number | |
| name | string |
update_documentUpdate a document's metadata| Parameter | Type | Description |
|---|---|---|
| archive_serial_number | number | |
| correspondent | number | Correspondent ID or null to clear |
| created | string | Created date (YYYY-MM-DD) |
| custom_fields | array | |
| document_type | number | Document type ID or null to clear |
| id * | number | Document ID |
| storage_path | number | Storage path ID or null to clear |
| tags | array | Replace all tags with these IDs |
| title | string |
update_document_typeUpdate an existing document type (partial update)| Parameter | Type | Description |
|---|---|---|
| id * | number | |
| is_insensitive | boolean | |
| match | string | |
| matching_algorithm | number | 1=any, 2=all, 3=literal, 4=regex, 5=fuzzy, 6=auto |
| name | string |
update_groupUpdate an existing group (partial update; requires Paperless admin privileges)| Parameter | Type | Description |
|---|---|---|
| id * | number | |
| name | string | |
| permissions | array |
update_mail_accountUpdate an existing mail account (partial update)| Parameter | Type | Description |
|---|---|---|
| id * | number |
update_mail_ruleUpdate an existing mail rule (partial update)| Parameter | Type | Description |
|---|---|---|
| id * | number |
update_saved_viewUpdate an existing saved view (partial update). Always sent as API v9, even when another version is configured: Paperless-ngx 3.0+ dropped show_on_dashboard/show_in_sidebar from saved views in v10 and keeps them in the user's UI settings, which its v9 compatibility layer updates server-side and reports back.| Parameter | Type | Description |
|---|---|---|
| filter_rules | array | |
| id * | number | |
| name | string | |
| page_size | number | |
| show_in_sidebar | boolean | |
| show_on_dashboard | boolean | |
| sort_field | string | |
| sort_reverse | boolean |
update_storage_pathUpdate an existing storage path (partial update)| Parameter | Type | Description |
|---|---|---|
| id * | number | |
| is_insensitive | boolean | |
| match | string | |
| matching_algorithm | number | 1=any, 2=all, 3=literal, 4=regex, 5=fuzzy, 6=auto |
| name | string | |
| path | string |
update_tagUpdate an existing tag (partial update)| Parameter | Type | Description |
|---|---|---|
| color | string | Hex color like #ff0000 |
| id * | number | |
| is_inbox_tag | boolean | |
| is_insensitive | boolean | |
| match | string | |
| matching_algorithm | number | 1=any, 2=all, 3=literal, 4=regex, 5=fuzzy, 6=auto |
| name | string |
update_userUpdate an existing user (partial update; requires Paperless admin privileges)| Parameter | Type | Description |
|---|---|---|
| string | ||
| first_name | string | |
| groups | array | Group IDs |
| id * | number | |
| is_active | boolean | |
| is_staff | boolean | |
| is_superuser | boolean | |
| last_name | string | |
| password | string | |
| user_permissions | array | |
| username | string |
update_workflowUpdate an existing workflow (partial update)| Parameter | Type | Description |
|---|---|---|
| enabled | boolean | |
| id * | number | |
| name | string | |
| order | number |
upload_documentUpload a document from a local file path| Parameter | Type | Description |
|---|---|---|
| archive_serial_number | number | |
| correspondent | number | |
| created | string | Created date (YYYY-MM-DD) |
| document_type | number | |
| file_path * | string | Absolute path to the file on disk |
| storage_path | number | |
| tags | array | |
| title | string |
upload_document_versionUpload a new file version of an existing document, keeping its metadata and history. Requires Paperless-ngx 3.0+.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Absolute path to the replacement file on disk |
| id * | number | Document ID |
| version_label | string | Human-readable label for this version |
upload_from_urlConvenience tools for common workflowsyearly_document_checkConvenience tools for common workflows| Parameter | Type | Description |
|---|---|---|
| tags__id__all | array | Only consider documents with ALL these tags |
| year * | number | Year to check (e.g. 2025), compared against the previous year |
Security checks
- ✓README presentThe repository's README runs to about 2.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 20 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 2.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README