# List status page resources

Returns a list of the existing resources of your status page. This endpoint [supports pagination](https://betterstack.com/docs/uptime/api/pagination/).

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/status-pages/{status_page_id}/resources"
method = "GET"

[[path_param]]
name = "status_page_id"
description = "The ID of your status page"
required = true
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns a list of the resources of your status page'''
body = '''{
  "data": [
    {
      "id": "12345",
      "type": "status_page_resource",
      "attributes": {
        "status_page_section_id": 456789,
        "resource_id": 112233,
        "resource_type": "Monitor",
        "history": true,
        "widget_type": "history",
        "public_name": "https://uptime.betterstack.com/",
        "explanation": "",
        "position": 0,
        "mark_as_down_for": "incident_matching_metadata",
        "mark_as_down_metadata_rule": {
          "key": "Escalation policy",
          "values": [
            {
              "type": "Policy",
              "item_id": "13245",
              "name": "Primary Policy"
            }
          ]
        },
        "mark_as_degraded_for": "any_incident",
        "availability": 0.99963,
        "status": "operational",
        "status_history": [
          {
            "day": "2022-01-01",
            "status": "operational",
            "downtime_duration": 0,
            "maintenance_duration": 0
          },
          {
            "day": "2022-01-02",
            "status": "downtime",
            "downtime_duration": 120.0,
            "maintenance_duration": 0
          }
        ]
      }
    },
    {
      "id": "12346",
      "type": "status_page_resource",
      "attributes": {
        "status_page_section_id": 456789,
        "resource_id": 112234,
        "resource_type": "Monitor",
        "history": true,
        "widget_type": "history",
        "public_name": "https://wallmine.com/",
        "explanation": "",
        "position": 1,
        "mark_as_down_for": "any_incident",
        "mark_as_degraded_for": "no_incident",
        "availability": 1.0,
        "status": "operational",
        "status_history": [
          {
            "day": "2022-01-01",
            "status": "operational",
            "downtime_duration": 0,
            "maintenance_duration": 0
          },
          {
            "day": "2022-01-02",
            "status": "operational",
            "downtime_duration": 0,
            "maintenance_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
  }
}'''
[/responses]

#### Example cURL 

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

[info]
#### Looking for the details of a specific parameter?
Explore [the list of all status page resources API parameters](https://betterstack.com/docs/uptime/api/status-page-resources-api-response-params/)
[/info]
