---
title: "Cancel Interaction"
method: POST
path: "/v1beta/interactions/{interaction_id}/cancel"
tags: ["google genai endpoints", "interactions"]
---

# Cancel Interaction

`POST /v1beta/interactions/{interaction_id}/cancel`

Cancel an interaction by ID.

Per OpenAPI spec: POST /{api_version}/interactions/{interaction_id}:cancel

## Path parameters

- `interaction_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `082b5fabd909` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1beta/interactions/:interaction_id/cancel/post.md)

---

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