HTTP APIEndpoints
Close a session
POST
Permanently closes a session and stops any active or queued work. Requires a management token. Event history remains readable.
bearerheader
AuthorizationBearer <token>id*stringOpaque session ID.
Match
^[a-fA-F0-9]{32}$Close a session
application/json- response
status*stringcurl -X POST 'http://127.0.0.1:8080/sessions/string/close' \ -H 'Authorization: Bearer <BRAIN_TOKEN>'{ "status": "string"}