Explore documentation

Get a single status page resource

Returns a single status page resource.

GET https://uptime.betterstack.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://uptime.betterstack.com/",
      "explanation": "",
      "history": true,
      "widget_type": "history",
      "position": 0,
      "availability": 1.0,
      "status": "operational",
      "status_history": [
        {
          "day": "2022-01-01",
          "status": "operational",
          "downtime_duration": 0
        }
      ]
    }
  }
}

Example cURL

Example
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/status-pages/123456789/resources/12345 \
  --header "Authorization: Bearer $TOKEN"