Recipe + prompt
Search across workspaces
One question hits permitted workspaces. The answer names source and POFID.
- 01 Intake
Document arrives
- 02 Recognition
OCR and layout
- 03 Classification
Type and fields
- 04 Review
Rule or person
- 05 Result
Status and export
Implement as
- Starting point
- One question hits permitted workspaces. The answer names source and POFID.
- Automated result
- One question hits permitted workspaces. The answer names source and POFID.
- Inputs
-
- Document
- Context
- Outputs
-
- Status
- Fields
Flow
- 01Accept intake
- 02Recognize
- 03Review
- 04Task or export
- 05Set status
- Authentication
- MCP user token
MCP user token. Use only the documented profile. Do not embed tokens in prompts or the frontend.
- MCP profile
https://mcp.paperoffice.ai/dms- Endpoints
-
GET /documents/workspaces-listGET /documents/document-search
- Modules
-
- MCP
- Search
- Permissions
- Scope only for GET /documents/document-search, GET /documents/workspaces-list. No DELETE, admin, billing, or webhook rights on po_pk_.
- Errors and approval
- 401/403: check key, scope, or origin. 402: budget. 429: wait, do not loop. 202: poll until completed. Timeout: retry once, then stop. Mark partial failures.
- Security
-
- do not store tokens in files
- documented MCP profile only
- no customer data in samples
Prompt for AI assistant
Read this first, in full:
https://api.paperoffice.ai/latest/docs/llms-full.txt
Task:
One question hits permitted workspaces. The answer names source and POFID. Use documented endpoints only.
Frame:
- Base URL: https://api.paperoffice.ai/latest
- Set up an AI assistant (Claude, ChatGPT, or Cursor) with the documented MCP profile. Do not put tokens into the prompt.
Only these endpoints:
- GET /documents/document-search
- GET /documents/workspaces-list
Errors: stop on 401/403 and check the key. Show budget on 402. Back off on 429. Retry a network error once. Do not invent endpoints. Do not use real tokens. - multi-workspace-search-sample.pdf
- company: Example Ltd
Expected result
recipe=multi-workspace-search, status=ok
Build or sell this solution with PaperOffice?
Integrator and Reseller can be combined. The next step is the partnership — application and instant decision continue in the PaperOffice app.
Start partnership