Skip to main content

Endpoint

Authentication

This endpoint requires authentication via API key. Include your API key in the X-API-Key header:

Path Parameters

Request Body

The body is optional. Send {} (or no body) to use the defaults, which return only the extracted fields.

Request Example

Response

Success Response

Status Code: 200 OK The response is a single document object. This is the same shape returned for each entry in the Search Documents documents array.

Response Fields

Field Value Object

Workflow Metadata Object

Mapped Field Object

Error Responses

401 Unauthorized

Returned when authentication fails. See the authentication errors section for details.

404 Not Found

Returned when the document doesn’t exist or you don’t have access to it.

500 Internal Server Error

Returned when the request fails due to a server error.

Notes

The include_* flags only add or remove sections from the response; they never change the document that is returned. With the default body ({}), summary is null and mapped_fields is [] - only the extracted fields are populated. Set include_summary and include_attributes to true to include those sections.
This endpoint returns the same document object as each entry in the Search Documents response. Use Search to find documents by field or attribute, then fetch a single document’s full data here by document_id.

Use Cases

  • Contract review - Retrieve all extracted fields and metadata for a contract
  • Data synchronization - Pull contract data into external systems (CRM, ERP)
  • Reporting - Build dashboards from extracted contract fields
  • Compliance checks - Verify key contract terms like renewal dates and values
  • Workflow integration - Access document data as part of automated workflows