cURL
curl --request POST \ --url https://api.vogent.ai/api/eval_runs/{id}/cancel \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "status": "PENDING", "callAgentId": "<string>", "versionedPromptId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "aggregateResult": { "numFailing": 123, "numPassing": 123 } }
Cancels a running or pending evaluation run. Terminates the underlying workflow and sets the status to CANCELLED.
In the form Bearer <api_key_here>. You can find your api key in your dashboard.
Bearer <api_key_here>
ID of the eval run to cancel.
Successful operation
The status of an evaluation run.
PENDING
RUNNING
SUCCESS
FAILED
CANCELLED
Show child attributes