Rensei docs
API ReferenceSessions ( Public)

Stop a running session

Sends a stop signal to the session: flips Redis status to `stopped`, releases queue/claim/lock, and emits a "Stop signal received" activity to the tracker.

POST
/api/public/sessions/{id}/stop

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Path Parameters

id*string

16-char public session hash.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/public/sessions/string/stop"
{
  "stopped": true,
  "sessionId": "string",
  "previousStatus": "pending",
  "newStatus": "string"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}