---
title: "Cancel Agent Run"
method: POST
path: "/api/cancel-agent-run"
tags: ["Agent Chat"]
---

# Cancel Agent Run

`POST /api/cancel-agent-run`

Cancel an active agent run for a specific thread.

## Query parameters

- `user_id` string
- `org_id` string

## Request body

- CancelRunRequest
  - `thread_id` string, required
  - `turn_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/every/apis/every-api.md) · [All operations](https://skmtc.net/every/apis/every-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/every/every-api/versions/9744001af85d/schema)
