Cases from Linking
List cases: groups of two or more documents Talonic links through a shared transaction or reference value, such as one PO number, with counts and labels.
A case is a group of two or more documents that share a transaction or reference value. An invoice, a purchase order and a delivery note with the same PO number form one case. Talonic builds cases on its own as documents are linked, so you get one view of everything that belongs together without walking the individual links.
List cases to build case lists, dashboards or review queues. Each case carries a document_count, a stable UUID id for detail lookups, and a case_key derived from its member documents. label holds a readable name when one has been generated, otherwise null; links.self points to the case detail.
identity values, such as the same vendor ID, form entity groups in the full link view but are not returned here.Use the case graph to see how the documents of one case connect, and the document-case map for a flat lookup by document. Cases are rebuilt during a backfill; after you change link keys, run a backfill so case membership is up to date.
- Each case has a stable UUID (
id) and a case key (case_key) derived from its document IDs. - Cases are built as documents are processed and again during a backfill.
- Documents connected only by identity values form entity groups, not cases.
/v1/casesRequest
curl https://api.talonic.com/v1/cases \
-H "Authorization: Bearer $TALONIC_API_KEY"Response
Response fields
id.Response
{
"data": [
{
"id": "5c7fa78c-4d92-4613-9f42-9fe74458d8a9",
"case_key": "a1b2c3d4e5f6a7b8",
"label": "Acme Corp Q4 Invoices",
"document_count": 4,
"created_at": "2024-09-14T10:32:00.000Z",
"links": {
"self": "/v1/cases/5c7fa78c-4d92-4613-9f42-9fe74458d8a9"
}
}
]
}Errors
Error responses
Retry-After header.Frequently asked questions
How are cases different from entity groups?+
transaction or reference value, such as a PO number. Documents that share only identity values, such as a vendor ID, form an entity group and not a case.Can a document belong to more than one case?+
case_key is derived from the documents in the group, while id is a stable UUID that stays the same when the case is rebuilt.Which identifier do I use to get case detail?+
id, for example GET /v1/cases/5c7fa78c-4d92-4613-9f42-9fe74458d8a9. The case_key is a fingerprint of the member documents, carried for reference, not a path parameter.