You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Terminal states:**`killed` (session was stopped via API), `completed` (session finished normally), `crashed` (session terminated unexpectedly). Terminal sessions return 404 on kill attempts and are retained for audit.
941
942
942
943
---
943
944
@@ -1320,7 +1321,7 @@ curl -X POST http://localhost:9100/v1/sessions/abc123/escape \
1320
1321
DELETE /v1/sessions/:id
1321
1322
```
1322
1323
1323
-
Terminates the Claude Code process and cleans up all resources.
1324
+
Terminates the Claude Code process and marks the session as `killed`. The session record is retained (status = `killed`) for audit purposes. Killing an already-terminated session (`killed`, `completed`, `crashed`) returns `404`.
1324
1325
1325
1326
**Aliases:**`POST /v1/sessions/:id/kill`, `POST /v1/sessions/:id/terminate`, `POST /v1/sessions/:id/stop` — all identical.
0 commit comments