# List catalog records

Returns a list of all your Catalog records for a [Catalog relation](https://betterstack.com/docs/uptime/api/list-all-catalog-relations/). This endpoint [supports pagination](https://betterstack.com/docs/uptime/api/pagination/).

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/catalog/relations/{relation_id}/records"
method = "GET"

[[path_param]]
name = "relation_id"
description = "The ID of the Catalog relation you want to get records for."
required = true
type = "string"

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

[responses]
[[response]]
status = 200
description = '''Returns list of existing Catalog records'''
body = '''{
  "data": [
    {
      "id": "67",
      "type": "catalog_record",
      "attributes": {
        "attributes": [
          {
            "attribute": { "id": "56", "name": "Team" },
            "values": [
              { "type": "String", "value": "My Team" }
            ]
          },
          {
            "attribute": { "id": "57", "name": "Team Lead" },
            "values": [
              { "type": "Team", "item_id": "123" }
            ]
          }
        ]
      }
    },
    {
      "id": "68",
      "type": "catalog_record",
      "attributes": {
        "attributes": [
          {
            "attribute": { "id": "56", "name": "Team" },
            "values": [
              { "type": "String", "value": "Another Team" }
            ]
          },
          {
            "attribute": { "id": "57", "name": "Team Lead" },
            "values": [
              { "type": "Team", "item_id": "124" }
            ]
          }
        ]
      }
    }
  ],
  "pagination": {
    "first": "https://uptime.betterstack.com/api/v2/catalog/relations/67/records?page=1",
    "last": "https://uptime.betterstack.com/api/v2/catalog/relations/67/records?page=1",
    "prev": null,
    "next": null
  }
}'''

[/responses]

#### Example cURL 

```shell
[label Example]
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/catalog/relations/67/records \
  --header "Authorization: Bearer $TOKEN"
```

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