Skip to main content
GET
/
v1
/
documents
/
{document_id}
Get document details
curl --request GET \
  --url http://localhost:8000/v1/documents/{document_id} \
  --header 'Authorization: Bearer <token>'
{
  "document_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "vault_uri": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "total_jobs": 123,
  "file_size_bytes": 123,
  "page_count": 123,
  "latest_job": {
    "created_at": "2025-11-27T10:30:00Z",
    "document_id": "6789def0-abcd-4567-ef01-23456789abcd",
    "job_id": "550e8400-e29b-41d4-a716-446655440000",
    "processing_completed_at": "2025-11-27T10:30:45Z",
    "processing_time_seconds": 45.2,
    "status": "completed"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: dk_test_ or dk_live_

Path Parameters

document_id
string<uuid>
required

Document ID

Response

Document details with latest job info

Response for document detail (GET /v1/documents/{id}).

document_id
string<uuid>
required

Unique identifier for the document

vault_uri
string
required

GCS path to the document in Cold Vault

created_at
string<date-time>
required

Document creation timestamp (ISO 8601)

total_jobs
integer
required

Total number of extraction jobs for this document

file_size_bytes
integer | null

Document file size in bytes

page_count
integer | null

Number of pages in the document

latest_job
JobListItem · object

Most recent extraction job details

Example:
{
"created_at": "2025-11-27T10:30:00Z",
"document_id": "6789def0-abcd-4567-ef01-23456789abcd",
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"processing_completed_at": "2025-11-27T10:30:45Z",
"processing_time_seconds": 45.2,
"status": "completed"
}