File a corrected file onto an existing document
Adds a NEW version of an existing document from base64 bytes and restarts its pipeline (conversion, then extraction, then indexing) on the new file — use this for "wrong scan, here is the right one", never for a different document (documents_upload is for that). The record, its type and its extracted fields are untouched until the new version finishes converting; poll documents_get to see status become "ready" again. Same base64 size limit as documents_upload: up to 8 MB decoded.
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/documents/{id}/versions
- Auth: HTTP bearer
Path parameters
The document to add a version to.
Headers
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.