---
title: "Stop an agent session"
method: DELETE
path: "/agents/{agentName}/sessions/{sessionId}"
---

# Stop an agent session

`DELETE /agents/{agentName}/sessions/{sessionId}`

Stops an active session of a deployed agent and cleans up its resources.

## Path parameters

- `agentName` string, required
- `sessionId` string, uuid, required

## Response `200`

Session stopped successfully

- StopResponse
  - `status` string — Status of the stop operation
  - `session_id` string, uuid — Session ID of the stopped session

## Other responses

- `400` — Invalid request (e.g., invalid session ID format)
- `401` — Invalid or missing API key
- `404` — Service or session not found

---

[API](https://skmtc.dev/pipecat/apis/pipecat-cloud.md) · [All operations](https://skmtc.dev/pipecat/apis/pipecat-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pipecat/pipecat-cloud/revisions/acd0f7dfe734/schema)
