Rensei docs
API ReferenceSessions ( Public)

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.

GET
/api/public/stats

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

Response Body

application/json

curl -X GET "https://example.com/api/public/stats"
{
  "workersOnline": 0,
  "agentsWorking": 0,
  "queueDepth": 0,
  "completedToday": 0,
  "availableCapacity": 0,
  "totalCostToday": 0,
  "totalCostAllTime": 0,
  "sessionCountToday": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}