---
title: "Stop an interactive session"
method: DELETE
path: "/sessions/{sessionId}"
tags: ["Sessions"]
---

# Stop an interactive session

`DELETE /sessions/{sessionId}`

Stops all active runs in the session, initiates the shutdown of its machine, and ends the session. A stopped session cannot accept further submissions; stopping an already-stopped session returns 404.

## Path parameters

- `sessionId` string, uuid, required — Session identifier.

## Response `204`

Session stopped

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `403` — Insufficient permissions
- `404` — Session not found
- `409` — Project is suspended
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/deepnote/apis/deepnote-public-api.md) · [All operations](https://skmtc.net/deepnote/apis/deepnote-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepnote/deepnote-public-api/revisions/726970fd2992/schema)
