Report Schedules

Print a report

Initiate a one-off, print-only report for a dashboard or integration dashboard. The report is rendered as a PDF and made available for download through the URL returned in the response. Requires a reporting permission appropriate to the targeted resource type.

post/api/v2/reporting/print

Request

Request body

Example request

{
  "data": {
    "attributes": {
      "from_ts": 1780318800000,
      "resource_id": "abc-def-ghi",
      "resource_type": "dashboard",
      "template_variables": [
        {
          "name": "env",
          "values": [
            "prod"
          ]
        }
      ],
      "timeframe": "1w",
      "timezone": "America/New_York",
      "to_ts": 1780923600000
    },
    "type": "report"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "download_url": "https://app.datadoghq.com/...",
      "from_ts": 1780318800000,
      "resource_id": "abc-def-ghi",
      "resource_type": "dashboard",
      "template_variables": [
        {
          "name": "env",
          "values": [
            "prod"
          ]
        }
      ],
      "timeframe": "1w",
      "timezone": "America/New_York",
      "to_ts": 1780923600000
    },
    "id": "11111111-2222-3333-4444-555555555555",
    "type": "report"
  }
}

Changes

Changes to this operation have not been checked yet.