---
title: "Create a new SLO report"
method: POST
path: "/api/v2/slo/report"
tags: ["Service Level Objectives"]
---

# Create a new SLO report

`POST /api/v2/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`.

## Request body

- SloReportCreateRequest — The SLO report request body.
  - `data` SloReportCreateRequestData, required — The data portion of the SLO report request.
    - `attributes` SloReportCreateRequestAttributes, required — The attributes portion of the SLO report request.
      - `from_ts` integer, required — The `from` timestamp for the report in epoch seconds.
      - `interval` 'daily' | 'weekly' | 'monthly' — The frequency at which report data is to be generated.
      - `query` string, required — The query string used to filter SLO results. Some examples of queries include `service:<service-name>` and `slo-name`.
      - `timezone` string — The timezone used to determine the start and end of each interval. For example, weekly intervals start at 12am on Sunday in the specified timezone.
      - `to_ts` integer, required — The `to` timestamp for the report in epoch seconds.

## Response `200`

OK

- SLOReportPostResponse — The SLO report response.
  - `data` SLOReportPostResponseData — The data portion of the SLO report response.
    - `id` string — The ID of the report job.
    - `type` string — The type of ID.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
