Documents

Correct a document’s extracted fields

Change extracted field values on a document. Only the fields you pass are touched, and each one you pass is marked as human-confirmed — so it leaves the review queue. The merged result must satisfy the document type’s schema, so call documents_list_types first to see the field names and types.

patch/api/v1/rest/documents/{id}/metadata

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/documents/{id}/metadata
  • 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

metadataobject required

Field name → value. Only these fields change.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.