> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapkit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop Session

> Kill a running session

Stop a session and kill its sandbox. This is irreversible — the session moves to `killed` status and cannot be resumed.

## Request

```bash theme={null}
curl -X POST https://api.tapkit.ai/v1/sessions/{session_id}/stop \
  -H "X-API-Key: joot_your_api_key"
```

### Path Parameters

| Parameter    | Type     | Description            |
| ------------ | -------- | ---------------------- |
| `session_id` | `string` | The session identifier |

## Response

**Status: 204 No Content**

No response body.

## Examples

### Python

```python theme={null}
import requests

requests.post(
    f"https://api.tapkit.ai/v1/sessions/{session_id}/stop",
    headers={"X-API-Key": "joot_..."}
)
```

## Related Endpoints

* [Pause](/api-reference/sessions/pause) - Pause instead of killing (reversible)
* [Get Session](/api-reference/sessions/get-session) - Verify the session was stopped
* [Create Session](/api-reference/sessions/create-session) - Start a new session
