FruxonDocs
AgentsExecution Records

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.

POST
/v1/tenants/{tenant}/agents/{agent}/executionRecords/{executionRecord}:cancelWait
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

The unique identifier of the agent.

executionRecord*string

The execution record parked on the consult.

tenant*string

The tenant identifier

Optional cancellation reason.

reason?string|null

Optional free-text reason recorded on the cancelled operation and in the audit log.

[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/executionRecords/string:cancelWait" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "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
}