---
title: "Delete a run"
method: DELETE
path: "/agent/runs/{id}"
tags: ["Agent"]
---

# Delete a run

`DELETE /agent/runs/{id}`

Delete a stored Agent run.

## Path parameters

- `id` string, required — Agent run ID. New run IDs are returned with the `agent_run_` prefix.

## Response `200`

Agent run deleted

- DeleteAgentRunResponse
  - `id` string, required — Agent run ID. New run IDs are returned with the `agent_run_` prefix.
  - `object` 'agent_run.deleted', required
  - `deleted` true, required

## Other responses

- `400` — Invalid request.
- `401` — Team context or authentication was not found.
- `404` — Run not found.
- `429` — Agent run concurrency limit reached.
- `500` — Server error or run timeout.

## Changes

- **2026-08-27** `67abccbd77b6` — 1 warning
  - deleted the `header` request parameter `Exa-Version`
- **2026-08-26** `bcc51991b48a` — 1 info
  - added the new optional `header` request parameter `Exa-Version`

[Change history](https://skmtc.dev/exa/apis/exa-public-api/changes/agent/runs/:id/delete.md)

---

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