---
title: "Cancel Eval Run"
method: POST
path: "/eval_runs/{id}/cancel"
---

# Cancel Eval Run

`POST /eval_runs/{id}/cancel`

## Request

- Base URL: `https://api.vogent.ai/api`
- URL: `https://api.vogent.ai/api/eval_runs/{id}/cancel`
- Auth: HTTP bearer

Cancels a running or pending evaluation run. Terminates the underlying workflow and sets the status to CANCELLED.

## Path parameters

- `id` string, required

## Response `200`

Successful operation

- AIEvalRun
  - `id` string, required
  - `status` 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'CANCELLED', required: The status of an evaluation run.
  - `callAgentId` string, required
  - `versionedPromptId` string, required
  - `createdAt` string, date-time, required
  - `aggregateResult` AIEvalAggregateResult, required
    - `numFailing` integer, required
    - `numPassing` integer, required

## Other responses

- `400`: Invalid input
- `422`: Validation exception

---

[API](https://skmtc.dev/vogent/apis/vogent-openapi-3-0.md) - [All operations](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/revisions/a5966cc364ef?raw)
