---
title: "Delete agent session"
method: DELETE
path: "/api/v0/agent/sessions/{session_id}"
tags: ["Agent"]
---

# Delete agent session

`DELETE /api/v0/agent/sessions/{session_id}`

Delete an agent session and all its messages.

## Path parameters

- `session_id` string, uuid, required

## Response `200`

Successful Response

- AgentSessionDeleteResponse — Response for deleting an agent session.
  - `message` string, required — The deletion confirmation message.
  - `session_id` string, uuid, required — The ID of the deleted session.

## Other responses

- `422` — Validation Error

---

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