SLO metrics snapshot
GET /slo
Returns the cached 30-day availability and latency snapshot. The response is cached for up to 60 seconds; fields without a valid measurement can be null.
This operation needs no authentication.
Responses
200 SLO metrics
application/json SloMetricsResponse
api_uptime_pctnumber or null requiredcached_atstring (date-time) requirederror_ratenull requiredlatency_msobject requiredp50integer or null requiredp90integer or null requiredp95integer or null requiredp99integer or null required
latency_scopestring requiredValue:"end-to-end, includes upstream model time"latency_sourcestring requiredValue:"gateway-request-log"notestring requiredp95_latency_msinteger or null requiredrecords_in_windowinteger requiredregionstring requiredsample_sizeinteger requiredstatusstring requiredValue:"ok"uptime_30d_pctnumber or null requireduptime_sample_sizeinteger or null requireduptime_sourcestring or null requiredOne of:"synthetic-http-probe",nullwindowstring requiredValue:"30d"window_isostring required
Generated sample
{
"api_uptime_pct": 0,
"cached_at": "2026-01-01T00:00:00Z",
"error_rate": null,
"latency_ms": {
"p50": 0,
"p90": 0,
"p95": 0,
"p99": 0
},
"latency_scope": "end-to-end, includes upstream model time",
"latency_source": "gateway-request-log",
"note": "string",
"p95_latency_ms": 0,
"records_in_window": 0,
"region": "string",
"sample_size": 0,
"status": "ok",
"uptime_30d_pct": 0,
"uptime_sample_size": 0,
"uptime_source": "synthetic-http-probe",
"window": "30d",
"window_iso": "string"
}429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string