Get session activity time-series
Three access modes: 1. Worker JWT with `?sessionId=<rawLinearSessionId>`. 2. Unauthenticated with `?sessionId=<rawId>&sessionHash=<32-hex>`. 3. Authenticated CLI/dashboard with `?sessionId=<rawOrHashedId>` + `rsk_` bearer or session cookie.
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
Query Parameters
Raw linearSessionId, trackerSessionId, or 16-char public hash.
32-char hex hash for unauthenticated access (SHA-256("session:{rawId}").slice(0,32)).
Opaque cursor for incremental polling (alias after also accepted).
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/public/session-activities?sessionId=string"{
"activities": [
{
"id": "string",
"type": "thought",
"content": "string",
"toolName": "string",
"timestamp": "2019-08-24T14:15:22Z"
}
],
"cursor": "string",
"sessionStatus": "queued"
}{
"error": "Session not found"
}{
"error": "Session not found"
}{
"error": "Session not found"
}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.
Real-time fleet statistics (org-scoped)
Returns live worker fleet and session queue metrics for the active org. Requires a session cookie or `rsk_` API key - despite the `/api/public` prefix, this endpoint is not anonymous.