/extract

Get document information by ID.

get/extract/documents/{document_id}

Request

  • Base URL
    https://api.contextual.ai/v1
  • URL
    https://api.contextual.ai/v1/extract/documents/{document_id}
  • Auth
    HTTP bearer

Path parameters

document_idstring required

Response

Successful Response

document_idstring required

Unique ID of the document

file_namestring required

Original filename

file_sizeinteger required

File size in bytes

page_countinteger required

Number of pages in the document

uploaded_atstring required

Timestamp when the document was uploaded

statusstring required

Document status

signed_urlstring nullable

Presigned download URL for the document (valid for 1 hour). Only available for GCS and S3 storage backends.

Changes