Cancels the consult a parked run is waiting on, resuming the run.
When a run is parked `WAITING_FOR_ASYNC` on a `consult_participant` to a human who hasn't answered, this lets an operator end the wait now instead of waiting out the consult's 24h TTL. The consult's proposal/topic is withdrawn and the run resumes with the same `no_answer` outcome it would get on a timeout — so cancelling introduces no new run behavior. Approvals are cancelled through their own `pendingApprovals/{id}:cancel` endpoint, not here.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The unique identifier of the agent.
The execution record parked on the consult.
The tenant identifier
Optional cancellation reason.
Optional free-text reason recorded on the cancelled operation and in the audit log.
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/executionRecords/string:cancelWait" \ -H "Content-Type: application/json" \ -d '{}'{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Terminally cancels a parked run, ending the execution.
The stronger counterpart to `:cancelWait`. Where cancelling the wait resolves the consult and <b>resumes</b> the run (so the agent can re-issue the same consult and re-park), this kills the run: every op the task is parked on is torn down, the task is flipped to a terminal state that never resumes, and the execution record is marked `Cancelled`. Use it when the run is stuck in a re-consult loop and skipping the single consult would not end it. Only a run parked `WAITING_FOR_ASYNC` can be cancelled.
Lists the sub-task runs spawned by this execution (e.g
Connects a parent run's trace to the child runs it spawned, so the UI can navigate into each sub-task's own trace. Empty for runs that spawned no sub-tasks.