Service Level Objectives
Create a new SLO report
Create a job to generate an SLO report. The report job is processed asynchronously and eventually results in a CSV report being available for download.
Check the status of the job and download the CSV report using the returned report_id.
post/api/v2/slo/report
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/slo/report
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: slos_read
Request body
Example request
{
"data": {
"attributes": {
"from_ts": 1690901870,
"interval": "weekly",
"query": "slo_type:metric",
"timezone": "America/New_York",
"to_ts": 1706803070
}
}
}Response
OK
Example response
{
"data": {
"id": "dc8d92aa-e0af-11ee-af21-1feeaccaa3a3",
"type": "report_id"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.