Rule Holds & Cases
Read the business-rule holds that stop a pipeline's runs, let one held run proceed with a reason, and list or export the reconciliation cases its rules raised.
Business rules on a pipeline can stop new runs until something is fixed (a hold), and can raise reconciliation cases when documents disagree with each other or with your data. GET /v1/pipelines/{id}/rule-holds lists the holds with their state, why each opened, and the one-run overrides granted on it. While a hold is open, POST /v1/pipelines/{id}/start reports the groups it keeps back in held_runs.
POST /v1/pipelines/{id}/runs/{runId}/business-rule-holds/{holdId}/override lets exactly one held run proceed, with a reason that stays on the audit trail. The hold itself stays open, so later runs are still stopped. When the override admits the run, Talonic starts it straight away and reports how many documents it queued. Overrides need runs:write, and the key's person must be an Admin of the workspace, as in the web app; anyone else gets 403 insufficient_role.
GET /v1/pipelines/{id}/reconciliation-cases lists up to 500 cases the rules raised, newest first, with their state, owner and the facts and evidence behind them. GET /v1/pipelines/{id}/reconciliation-cases/export returns the full audit export of the same cases: snapshots, evidence, history and holds. The list needs any member; the export needs a person with the export permission, as in the web app.
/v1/pipelines/{id}/rule-holdsHold fields
holdId to override.id, runId, actorId, reason, grantedAt, expiredAt./v1/pipelines/{id}/runs/{runId}/business-rule-holds/{holdId}/overrideBody parameters
Response (200) — override
{
"admitted": true,
"remaining_hold_ids": [],
"enqueued": 14
}/v1/pipelines/{id}/reconciliation-cases/v1/pipelines/{id}/reconciliation-cases/export