List existing resources of a status page

Returns a list of the existing resources of your status page.

GET https://uptime.betterstack.com/api/v2/status-pages/{status_page_id}/resources

URL parameters

status_page_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_history": [
          {
            "day": "2022-01-01",
            "status": "operational",
            "downtime_duration": 0
          }
        ]
      }
    },
    {
      "id": "12346",
      "type": "status_page_resource",
      "attributes": {
        "resource_id": 112234,
        "resource_type": "Monitor",
        "public_name": "https://wallmine.com/",
        "explanation": "",
        "history": true,
        "widget_type": "history",
        "position": 1,
        "availability": 1.0,
        "status_history": [
          {
            "day": "2022-01-01",
            "status": "operational",
            "downtime_duration": 0
          }
        ]
      }
    }
  ],
  "pagination": {
    "first": "https://uptime.betterstack.com/api/v2/status-pages/123456789/resources?page=1",
    "last": "https://uptime.betterstack.com/api/v2/status-pages/123456789/resources?page=1",
    "prev": null,
    "next": null
  }
}

Example cURL

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