Rensei docs

Read hourly fleet occupancy and admission wait.

Rolling window split into UTC hours, with partial edge buckets in slot-hours. Capacity is the current live seat-host capacity. Percentiles use linear interpolation; waits include all started sessions, including interactive sessions. Host and session reads respect the caller project fence.

GET
/api/capacity/utilization

Authorization

headerAuthorizationBearer <rsk_live_*>

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

Query Parameters

hours?integer
Range0 < value <= 168
Default24

Response Body

Fleet utilization.

application/json
  1. response
hours*array<>
fleet*
admitToStartWait*
Example Request
curl -X GET 'https://app.rensei.ai/api/capacity/utilization'
Example Response
{  "hours": [    {      "busySlots": 0,      "capacity": 0,      "pct": 0,      "hour": "string",      "hosts": [        {          "busySlots": 0,          "capacity": 0,          "pct": 0,          "hostId": "string"        }      ]    }  ],  "fleet": {    "meanBusy": 0,    "p50Busy": 0,    "p90Busy": 0,    "capacity": 0,    "pct": 0  },  "admitToStartWait": {    "p50Sec": 0,    "p90Sec": 0  }}