Shared Values & Document Neighbours
Read the values your documents share and the documents connected through them, rebuild the graph, and list the documents next to one document.
The shared-values graph lists the distinct values your documents share (order numbers, parties, references) and which documents and fields connect through them. GET /v1/entity-graph serves the same graph as GET /v1/linking/entity-graph. Only documents you can see are included.
GET
/v1/entity-graphGET
/v1/entity-graph/statusPOST
/v1/entity-graph/rebuildcurl
curl -s -X POST https://api.talonic.com/v1/entity-graph/rebuild \
-H "Authorization: Bearer tlnc_your_api_key" \
-H "Content-Type: application/json" -d '{"ner": true}'GET
/v1/case-synthesis/documents/{docId}/neighborscurl
curl -s https://api.talonic.com/v1/case-synthesis/documents/6f1c2a9e-3b4d-4e5f-8a7b-9c0d1e2f3a4b/neighbors \
-H "Authorization: Bearer tlnc_your_api_key"Errors
Error responses
400bad_requestInvalid parameters, or no specific workspace selected.
401unauthorizedMissing or invalid API key or token.
403insufficient_scope / insufficient_roleThe credential lacks
cases:write, or the person behind it may not make this change. The reason field says which.409idempotency_request_in_progressA request with the same
Idempotency-Key is still running. Retry shortly to receive its result.422idempotency_key_reusedThe
Idempotency-Key was already used for a different request.429rate_limitedToo many requests. Retry after the period in the Retry-After header.
Frequently asked questions
How do I know a rebuild finished?+
Poll
GET /v1/entity-graph/status until building is false, then read the graph.