Get Stats
GET /system/statsHow much of everything this caller can see, and what nobody can bill for.
The caller’s own scope, like /system/queue next door and for a sharper reason: a count
is a side channel. An organization that can watch another organization’s run total climb
has learned something about it without reading a row, so these go through the scoped
repositories rather than through a bare count(*) that would have been simpler and
wrong.
viewer, which is the lowest floor in the API, because there is nothing here a viewer
is not already able to page through one listing at a time.
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
200 | Successful Response | Stats |
Example
Section titled “Example”curl -X GET https://your-deployment.example.com/system/stats \ -H "Authorization: Bearer $COBRE_TOKEN"Response — Stats
Section titled “Response — Stats”| Field | Type | Notes | |
|---|---|---|---|
counts | object | required | — |
unpriced_models | string[] | required | — |