---
title: "Delete Session"
method: DELETE
path: "/agent/sessions/{session_id}"
---

# Delete Session

`DELETE /agent/sessions/{session_id}`

Delete a chat session and its messages.

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
