# Interrupt the agent (/en/api-reference/api-ref/conversational-ai/interrupt)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

Interrupts a specified agent while it is speaking or thinking.

- OpenAPI: /openapi/conversational-ai/rest-api.en.yaml
- Operation ID: agent-interrupt
- Method: POST
- Path: /v2/projects/{appid}/agents/{agentId}/interrupt

## Servers

- https://api.agora.io/api/conversational-ai-agent

## Parameters

- `appid` (path, required) - The App ID of the project.
- `agentId` (path, required) - The agent instance ID you obtained after successfully calling `join` to [Start a conversational AI agent](/en/api-reference/api-ref/conversational-ai/join).

## Request body

No request body.

## Responses

### 200

The request was successful. The response body contains agent information and the agent stops talking and thinking immediately.

No schema.
### default

The request failed. The response body includes the error details.

- `detail` (string) - Detailed error information.
No schema.
- `reason` (string) - The reason for the failure.
No schema.
