FruxonDocs
ApiEvaluation runs

Cancel an in-progress evaluation run.

Sets the cross-pod cancel flag on the queue row. The owning EvaluationWorker pod's watchdog observes the flag within ~2s and signals cancellation through the existing token-propagation chain. Returns 409 if the run already reached a terminal state.

POST
/v1/tenants/{tenant}/agents/{agent}/evaluationRuns/{evaluationRun}:cancel
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

evaluationRun*string

The evaluation run ID to cancel

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/evaluationRuns/497f6eca-6276-4993-bfeb-53cbbbba6f08:cancel"
Empty
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
}