Skip to main content
GET
Get monitor results

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Path Parameters

id
string
required

Monitor ID

Query Parameters

days
integer

Trailing window in days to aggregate (default 7, max 90).

Required range: 1 <= x <= 90

Response

Monitor results retrieved successfully

Aggregated results for a monitor over a trailing window, computed only from the monitor's own evaluations.

monitorId
string
required
Example:

"monitor_123"

range
object
required
metrics
object[]
required

One score series per metric family the monitor scores.

worstMetric
object | null
required

Lowest-scoring metric family over the range. Never an average across metrics.

markers
object
required
spend
object
required

The spent and pending credits are null when the caller may not read inference costs on the product of the monitor: a READER never may, and another product-scoped role needs a group that lists evaluation.readInference there.

sessions
object
required