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

rsk_Bearer
AuthorizationBearer <token>

Rensei API key. Format: rsk_live_<random>. Generated in Settings or via POST /api/org/{orgId}/keys. Used by CLI (af), daemon, and programmatic integrations.

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"
}