---
title: "Cancel evaluation of an agent version"
method: POST
path: "/v1/admin/agent-versions/{agent_version_id}/cancel"
tags: ["admin"]
---

# Cancel evaluation of an agent version

`POST /v1/admin/agent-versions/{agent_version_id}/cancel`

Cancel active evaluation runs for an agent version.

## Path parameters

- `agent_version_id` string, uuid, required — Agent version ID

## Request body

- CancelRequest
  - `reason` string, required — Reason for cancellation

## Response `200`

Successful Response

- CancelResponse
  - `agent_version_id` string, uuid, required — Agent version whose runs were cancelled
  - `cancelled_runs` integer, required — Number of runs cancelled

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/oroagents/apis/oro-api.md) · [All operations](https://skmtc.dev/oroagents/apis/oro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oroagents/oro-api/revisions/38ef86138115/schema)
