Cases

Decide which document a reference points to

Changed on

Link the reference to document_id. The decision is kept across every later rebuild and joins the two documents into one case. A reference or document you cannot see answers 404. Requires the cases:write scope. Send an Idempotency-Key to make a retry safe.

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

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Reference id from the review list.

Headers

Idempotency-Key, string

Unique key for idempotent requests, at most 64 characters (a longer key is refused with 400 invalid_idempotency_key before any work). A retry with the same key, request and API key within 24 hours returns the first response with Idempotent-Replayed: true; the same key on a different request or from another API key answers 422 idempotency_key_reused. On POST /v1/extract the key caches the extraction result for the workspace instead: any key of the workspace sending it gets that result with cached: true.

Request body

object required
document_id, string uuid required

Response

Decided.

object required
status, string

Example response

{
  "status": "ok"
}

Changes