Skip to main content

Review Document References

Decide references that match more than one document, reject false ones, list documents that are referenced but never uploaded, and read references in earlier documents.

When a reference in a document matches more than one document, Talonic asks a person to pick. List those references, resolve each to the right document or reject it. A decision is kept across every later rebuild, and a resolved reference joins the two documents into one case.

References waiting for a decision

GET/v1/relation-claims/review

Query parameters

limitintegerPage size.
offsetintegerRows to skip.

curl

curl -s "https://api.talonic.com/v1/relation-claims/review?limit=20" \
  -H "Authorization: Bearer tlnc_your_api_key"

Resolve a reference

POST/v1/relation-claims/{id}/resolve

Body

document_idstring (uuid)The document the reference points to; one of its candidates.

curl

curl -s -X POST https://api.talonic.com/v1/relation-claims/7c1e4b2a-9d3f-4a8e-b6c1-2f5a8d9e0b13/resolve \
  -H "Authorization: Bearer tlnc_your_api_key" \
  -H "Idempotency-Key: pick-7c1e" \
  -H "Content-Type: application/json" \
  -d '{"document_id": "6f1c2a9e-3b4d-4e5f-8a7b-9c0d1e2f3a4b"}'

Reject a reference

POST/v1/relation-claims/{id}/reject

Documents referenced but never uploaded

GET/v1/relation-claims/missing

Read references in earlier documents

POST/v1/relation-claims/backfill

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.
404not_foundThe reference or the target document does not exist or is not visible to you.
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

Is a decision ever undone by a rebuild?+
No. Resolutions and rejections made by a person are kept across every rebuild.