---
title: "Cancel Eval"
method: POST
path: "/v1/evals/{eval_id}/cancel"
tags: ["OpenAI Evals API"]
---

# Cancel Eval

`POST /v1/evals/{eval_id}/cancel`

## Request

- Base URL: `https://api.vibebrowser.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.vibebrowser.app/v1/evals/{eval_id}/cancel`
- Auth: one of:
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`

Cancel a running evaluation.

Model-based routing (for multi-account support):
- Pass model via header: `x-litellm-model: gpt-4-account-1`
- Pass model via query: `?model=gpt-4-account-1`
- Pass model via body: `{"model": "gpt-4-account-1"}`

Example usage:
```bash
curl -X POST "http://localhost:4000/v1/evals/eval_123/cancel"       -H "Authorization: Bearer your-key"
```

Returns: CancelEvalResponse with cancellation confirmation

## Path parameters

- `eval_id` string, required

## Query parameters

- `custom_llm_provider` string, nullable

## Response `200`

Successful Response

- CancelEvalResponse: Response from cancelling an evaluation
  - `id` string, required
  - `object` string
  - `status` 'cancelled', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vibebrowser/apis/litellm-api.md) · [All operations](https://skmtc.dev/vibebrowser/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vibebrowser/apis/litellm-api/revisions/eea0b7e7b167?raw)
