Get a single status page report

Returns a single status page report.

GET https://betteruptime.com/api/v2/status-pages/{status_page_id}/status-reports/{status_report_id}

URL parameters

status_page_id
required string
status_report_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "12345",
    "type": "status_report",
    "attributes": {
      "title": "Status report title",
      "report_type": "manual",
      "starts_at": "2021-12-17T11:00:00.000Z",
      "ends_at": "2021-12-17T12:00:00.000Z",
      "status_page_id": 123456,
      "affected_resources": [
        {
          "status_page_resource_id": "12345",
          "status": "downtime"
        }
      ],
      "aggregate_state": "downtime"
    },
    "relationships": {
      "status_updates": {
        "data": [
          {
            "id": "12345",
            "type": "status_update"
          }
        ]
      }
    }
  },
  "included": [
    {
      "id": "12345",
      "type": "status_update",
      "attributes": {
        "message": "Status update message",
        "published_at": "2021-12-17T11:00:00.000Z",
        "status_report_id": 12345,
        "affected_resources": [
          {
            "status_page_resource_id": "12345",
            "status": "downtime"
          }
        ]
      }
    }
  ]
}

Example cURL

curl --request GET \
  --url https://betteruptime.com/api/v2/status-pages/123456/status-reports/12345 \
  --header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!