Get a single status page resource

Returns a single status page resource.

GET https://betteruptime.com/api/v2/status-pages/{status_page_id}/resources/{resource_id}

URL parameters

status_page_id
required string
resource_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "12345",
    "type": "status_page_resource",
    "attributes": {
      "resource_id": 112233,
      "resource_type": "Monitor",
      "public_name": "https://betteruptime.com/",
      "explanation": "",
      "history": true,
      "widget_type": "history",
      "position": 0,
      "availability": 1.0,
      "status_history": [
        {
          "day": "2022-01-01",
          "status": "operational",
          "downtime_duration": 0
        }
      ]
    }
  }
}

Example cURL

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