Get a document by ID
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Query parameters
prompt_ids
Optional comma-separated extractor prompt IDs. If omitted, no prompt extraction values are returned.
Response
Document
created_at
has_active_workflow
True if there is a workflow currently running for this document
id
is_valid
name
organization_id
status
Lifecycle status for a document.
uploading: an upload URL has been issued for the document, but the file has not yet been uploaded to that URL.processing: the file has been uploaded and the system is ingesting it, extracting metadata, and preparing it for use.ready: processing is complete and the document can be used in workflows, selectors, and extraction jobs.
Allowed values:
document_class
Classification result for this document, if present.
document_subclass
Subclass result for this document (nested under document_class). Null when no subclass was assigned.
extraction_results
Extraction values for requested prompt IDs.
file_size
folder_id
Folder containing the document. Null or omitted means the document is at root.
page_count
source_document
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
