Skip to content
Sign in Create account

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_pct number or null required
  • cached_at string (date-time) required
  • error_rate null required
  • latency_ms object required
    • p50 integer or null required
    • p90 integer or null required
    • p95 integer or null required
    • p99 integer or null required
  • latency_scope string required
    Value: "end-to-end, includes upstream model time"
  • latency_source string required
    Value: "gateway-request-log"
  • note string required
  • p95_latency_ms integer or null required
  • records_in_window integer required
  • region string required
  • sample_size integer required
  • status string required
    Value: "ok"
  • uptime_30d_pct number or null required
  • uptime_sample_size integer or null required
  • uptime_source string or null required
    One of: "synthetic-http-probe", null
  • window string required
    Value: "30d"
  • window_iso string 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

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string