Apps
Report that the agent cannot decide
Terminates the task, raises a Human Review carrying the stated reason, and applies the app's declared fallback policy (rules, hold, or none) exactly as an SLA expiry does. Permitted after the lease has lapsed: reporting failure must always stay possible.
post/v1/decision-tasks/{id}/fail
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Request body
Decision Task Fail required
execution_epoch, integer required
reason, string required
Stated on the Human Review this raises.
Response
Failed task metadata.
Decision Task Metadata required
id, string uuid required
customer_id, string uuid required
run_id, string uuid required
app_id, string uuid required
status, 'available' | 'claimed' | 'submitted' | 'released' | 'failed' | 'timed_out' | 'cancelled' required
execution_epoch, integer required
input_package_ref, string
Where the frozen package lives; run in v1.
lease_seconds, integer
claimed_by, string nullable
The claimant: an API key id, or oauth:<client_id>:<user_id> for an OAuth session.
claimed_at, string date-time nullable
lease_expires_at, string date-time nullable
heartbeat_at, string date-time nullable
sla_deadline_at, string date-time required
Hard decision deadline; heartbeats never extend the lease past it.
submitted_at, string date-time nullable
created_at, string date-time required
updated_at, string date-time required
Changes
No recorded changes to this operation across all 32 revisions of this API.