---
title: "Create a report"
method: POST
path: "/graphql"
---

# Create a report

`POST /graphql`

## Headers

- `Content-Type` string, required

## Request body

- object
  - `query` string, required — **Do not change this value**
  - `variables` object, required
    - `input` object, required
      - `metrics` string[], required — Add the metrics to include in the report (i.e `VIEWS`).<br>See <a href="https://developers.dailymotion.com/reference/reporting-reference#reporting-metrics/">exhaustive list of possible metrics</a>.
      - `dimensions` string[], required — Add the dimensions to include in the report (i.e `VIDEO_TITLE` and `DAY`).<br>See <a href="https://developers.dailymotion.com/reference/reporting-reference#reporting-dimensions/">exhaustive list of possible metrics</a>.<br>Maximum 8 dimensions per report.
      - `filters` object, required — Add filters to narrow down the report scope. <br>See <a href="https://developers.dailymotion.com/reference/reporting-reference#reporting-filters/">exhaustive list of possible filters</a>.
        - `videoOwnerChannelSlug` string, required — Your unique profile username or xID.
      - `product` string, required — Specify the context in which data was generated. On Dailymotion, data can come from 3 sources: your content, your embeds or your claims.<br>**Possible values:** `CONTENT` `EMBED` `CLAIM` `ALL`<br>Learn more about <a href="https://developers.dailymotion.com/reference/reporting-reference#reporting-products/">product values</a>.
      - `startDate` string, required — The start date of the reporting period.<br>**Format:** `YYYY-MM-DD`<br>**Important:** Date range cannot be smaller than 1 day or exceed 180 days.
      - `endDate` string, required — The end date of the reporting period.<br>**Format:** `YYYY-MM-DD`<br>**Important:** Date range cannot be smaller than 1 day or exceed 180 days.

## Response `200`

---

[API](https://skmtc.net/dailymotion/apis/partner-api.md) · [All operations](https://skmtc.net/dailymotion/apis/partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dailymotion/partner-api/versions/68bb377627b7/schema)
