Retrieve Document

Retrieve a Document, keying off of either its Vellum-generated ID or its external ID.

Path parameters

idstringRequired

A UUID string identifying this document.

Headers

X_API_KEYstringRequired

Response

idstringformat: "uuid"
last_uploaded_atdatetime
labelstring<=1000 characters

A human-readable label for the document. Defaults to the originally uploaded file’s file name.

processing_stateenum
  • QUEUED - Queued
  • PROCESSING - Processing
  • PROCESSED - Processed
  • FAILED - Failed
  • UNKNOWN - Unknown
Allowed values:
document_to_document_indexeslist of objects
external_idstringOptional<=1000 characters

The unique id of this document as it exists in the user’s system.

status"ACTIVE"OptionalDefaults to ACTIVE

The current status of the document

  • ACTIVE - Active
original_file_urlstringOptional
processed_file_urlstringOptional
metadatamap from strings to anyOptional

A previously supplied JSON object containing metadata that can be filtered on when searching.