What you’ll see
Paperless
- Health: in Details, Paperless’s version, or the first problem its system status reports, in its own words ("Classifier: No training data available."), and how many others there are. An error in the database, Redis, Celery, the search index, the classifier or the sanity check turns the health card red, as Paperless’s own status badge turns red. No Celery worker answering, or a file that didn’t import, turns it orange. Either one sends a notification. It also turns red once Paperless stops answering or refuses the status request.
- Inbox and Added this month: how many documents have an inbox tag, and how many Paperless took in since the 1st, with the whole library’s count under it. If no tag in your Paperless is an inbox tag, Inbox shows a dash.
- Server: free space on the disk that holds your documents, how many correspondents, tags and document types you have, and Paperless’s version, with the newer one when there’s an update.
- Failed imports: only while there are any, the files Paperless couldn’t take in, with its reason. Point at a row for Dismiss, which marks it as seen, as Dismiss on Paperless’s Tasks page does, and the page stops counting it at once. The file itself stays wherever it was.
- Inbox: the newest documents in the inbox, with their correspondent and type and when they arrived. The card shows 7, with Show more for the rest of the 25 it reads, and its title says "Inbox · 25 of 40" when there are more than that. Click a row to open the document in Paperless. Without an inbox tag, this card is Recently added, the four newest documents.
- Search Paperless: the magnifying glass in the corner of the Inbox, and in Spotlight. Type what you’d type in Paperless’s own search box (words, a phrase in quotes,
tag:bills,correspondent:harbor) and press Search.
Search
One page for every search, titled with what you searched for: Paperless’s 25 best matches, in its order, each with where the words matched, who it’s from and the document’s date. The list says "Results · 25 of 112" when there are more. Click a row to open the document in Paperless; Back returns to the overview.
Status
- Shows Paperless’s own system status.
- Red when Paperless reports an error in its database, Redis, Celery, search index, classifier or sanity check, as its own status badge does.
- Orange when no Celery worker answers or a file didn’t import.
- Red once Paperless stops answering or refuses its status.
- Notifies you when it turns orange or red.
How it connects
The page reads Paperless’s REST API with your API token, sent as Authorization: Token …, and asks for API version 10 on every request.
Requests it makes on its own 8
- GET
/api/status/The system status, storage and version.
Every 5 minutes
- GET
/api/statistics/The inbox count and the library’s counts.
Every 5 minutes
- GET
/api/remote_version/Whether there’s a newer release. Paperless asks GitHub itself, at most every 15 minutes.
Every 5 minutes
- GET
/api/documents/?added__date__gte=… &page_size=1 How many documents arrived this month.
Every 5 minutes
- GET
/api/documents/?is_in_inbox=true &ordering=-added &page_size=25 The newest 25 documents in the inbox.
Every 5 minutes
- GET
/api/documents/?ordering=-added &page_size=4 The four newest documents, shown when there’s no inbox tag.
Every 5 minutes
- GET
/api/tasks/?task_type=consume_file &status=failure &acknowledged=false Files that didn’t import and haven’t been dismissed.
Every 5 minutes
GET /api/correspondents/andGET /api/document_types/Names for the inbox rows: the 1,000 most used of each.
Every 5 minutes
Requests it makes when you act 2
- POST
/api/tasks/acknowledge/Marks that failed import as seen.
When you press Dismiss
- GET
/api/documents/?query=… &page_size=25 The 25 best matches, each with its excerpt. The results page reads the correspondent and type names too.
When you search, then hourly while its page is shown
That’s about 120 requests an hour while your Mac is awake, most of them a few hundred bytes, and three more for each search. The document requests ask only for the few fields the page shows, so the text Paperless read from each document isn’t sent. Paperless’s API documentation covers each request.
Use a Superuser’s token. Another account sees only the documents and imports it has access to. Paperless shows its system status only to users with Admin turned on or its system monitoring permission, and Dismiss needs permission to change tasks. When Paperless refuses the status, the health, counts, Server and Failed imports cards say so, and the Inbox still fills.
Sources and buttons explains each part of a page.
Set it up
- Make a token. In Paperless 3.0 or later, sign in as a Superuser, open the person menu, then My Profile, and create an API Auth Token.
- Save it in Legato. In Settings → Secrets, save the token under
paperless, bound to your Paperless’s address. You can also link a 1Password reference. - Add the pages. Paste the prompt into your agent, or download both pages and run
/Applications/Legato.app/Contents/Helpers/legato set paperless paperless.jsonand/Applications/Legato.app/Contents/Helpers/legato set paperless-search paperless-search.json. - Point them at Paperless. Change
http://paperless.local:8000to your Paperless’s address on the three sources and in the three document links (…/documents/{id|raw}/details). If Paperless sits behind a reverse proxy at a path, such ashttps://docs.example.com/paperless, set each source’surltohttps://docs.example.com, add"base": "/paperless", and put the path in the document links too.
The cards fill within a minute. A mistyped token is the usual reason they don’t: the page then notes that Paperless refused it.
Prompt for your agent
Add 2 Legato pages for Paperless-ngx, starting from https://legatobar.com/examples/paperless.json, https://legatobar.com/examples/paperless-search.json. Use the page IDs paperless, paperless-search if they’re free: the pages link to each other by those IDs, so with any other ID, change the matching legato://page/ links.
Add both pages as they are and change http://paperless.local:8000 to my Paperless address everywhere it appears: the three sources and the three document links. I’ll save my API token as paperless in Settings → Secrets myself.
Use the local Legato MCP tools or /Applications/Legato.app/Contents/Helpers/legato.
Use list_pages first and choose an unused page ID. Do not overwrite an existing page. If I explicitly ask to update one, read its full body with get_page, preserve unrelated cards and settings, and use if_match with that version. On version_mismatch, read again before merging.
Ask me only for non-secret setup details that are missing. Never ask me to paste a password, token or API key into chat, page JSON or command arguments. Tell me to save it in Settings → Secrets for the service host, or link it from 1Password there.
Use the downloadable page, not the illustration’s sample data. Never invent readings. Fix any invalid_page paths and verify that the page loads. Do not press buttons that change the service or real devices to test it.Download the page
Questions
Why does Inbox show a dash?
No tag in your Paperless is an inbox tag. Paperless adds inbox tags to every new document, and you take them off once you’ve filed it. To use it, edit a tag in Paperless and turn on Inbox tag. Until then the page shows your four newest documents instead.
Does it work with Paperless-ngx 2.x?
No. The page needs Paperless-ngx 3.0 or later. Version 2 answers every request for API version 10 with HTTP 406, "Invalid version", and the cards show that error.
What does Dismiss do?
The same as Dismiss on Paperless’s Tasks page: the failed import is marked as seen and leaves the list. It doesn’t delete or retry anything. Upload the file again to try it again.
What can I search for?
What Paperless’s own search box takes: words anywhere in a document, a phrase in quotes, and fields such as tag:bills, correspondent:harbor, type:invoice or created:[2025 to now], as Paperless’s search help describes. Paperless ranks the results and marks where the words matched. Search that Paperless can’t read, such as an unclosed quote, finds nothing.
Why does a document have no correspondent?
It has none in Paperless, or it’s one of your rarer ones: the page reads the names of the 1,000 correspondents and document types with the most documents.