Skip to main content

Get Document

Retrieve metadata, processing status, and ontology classification for a single document by its unique ID.

GET/v1/documents/:id

Path parameters

ParameterTypeDescription
idstringThe document ID (e.g., doc_xyz789)

Example

curl https://api.talonic.com/v1/documents/doc_xyz789 \
  -H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2"

Response

{
  "id": "doc_xyz789",
  "filename": "invoice-042.pdf",
  "status": "completed",
  "type": "Invoice",
  "ontology_path": "Finance > Accounts Payable > Invoice",
  "pages": 2,
  "size_bytes": 245000,
  "source_id": "src_def456",
  "extraction_ids": ["ext_abc123"],
  "created_at": "2026-04-20T14:30:00Z",
  "updated_at": "2026-04-20T14:31:22Z"
}