Documents
Correct a document’s title, type or direction
Renames a document, retypes it, or fixes its in_entrata / in_uscita direction — the archive is flat and has no folders, so retyping is how a misfiled document moves. Retyping WIPES the old type’s extracted fields (they answered a different schema) and, on a tenant with AI extraction, queues a fresh extraction against the new type; poll documents_get afterwards to read the result. To correct individual field VALUES without changing the type, use documents_update_metadata instead.
patch/api/v1/rest/documents/{id}
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/documents/{id}
- Auth: HTTP bearer
Path parameters
idstring uuid required
Headers
X-Tenant-Idstring uuid
The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.
Request body
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.