Beta
Update Document
Update a Document, keying off of either its Vellum-generated ID or its external ID. Particularly useful for updating its metadata.
Path parameters
id
A UUID string identifying this document.
Headers
X_API_KEY
Request
This endpoint expects an object.
label
A human-readable label for the document. Defaults to the originally uploaded file’s file name.
status
The current status of the document
ACTIVE
- Active
metadata
A JSON object containing any metadata associated with the document that you’d like to filter upon later.
Response
id
last_uploaded_at
label
A human-readable label for the document. Defaults to the originally uploaded file’s file name.
processing_state
QUEUED
- QueuedPROCESSING
- ProcessingPROCESSED
- ProcessedFAILED
- FailedUNKNOWN
- Unknown
Allowed values:
document_to_document_indexes
external_id
The unique id of this document as it exists in the user’s system.
status
The current status of the document
ACTIVE
- Active
original_file_url
processed_file_url
metadata
A previously supplied JSON object containing metadata that can be filtered on when searching.