N-Shot

Submit a judge decision for N-Shot

Accept or decline the LLM judge's recommendation for an N-Shot cell. Accepting applies the judge's recommended shot as an override.

post/v1/jobs/runs/{runId}/nshot/judge-decision

Request

  • Base URL: https://api.talonic.com
  • URL: https://api.talonic.com/v1/jobs/runs/{runId}/nshot/judge-decision
  • Auth: HTTP bearer

Path parameters

runIdstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Job run ID.

Request body

document_idstring uuid required
field_namestring required
acceptedboolean required

Whether the judge recommendation is accepted (true) or declined (false).

Example request

{
  "document_id": "f0e1d2c3-b4a5-9687-8765-432109876543",
  "field_name": "invoice_number"
}

Response

The full updated comparison object, including the recorded judgement (and override when accepted).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.