provider Service Level Objectives GET
/api/v2/slo/{slo_id}/status @utdk/datadog
/api/v2/slo/{slo_id}/status Get SLO status
Get the status of a Service Level Objective (SLO) for a given time period.
This endpoint returns the current SLI value, error budget remaining, and other status information for the specified SLO.
- slo_id path required
- The ID of the SLO.
- string
- from_ts query required
- The starting timestamp for the SLO status query in epoch seconds.
- integer
- to_ts query required
- The ending timestamp for the SLO status query in epoch seconds.
- integer
- disable_corrections query
- Whether to exclude correction windows from the SLO status calculation. Defaults to false.
- boolean
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.getslostatus({
"disable_corrections": false
})