Explore documentation

List all Catalog records

Returns a list of all your Catalog records for a Catalog relation. This endpoint supports pagination.

GET https://uptime.betterstack.com/api/v2/catalog/relations/{relation_id}/records

URL parameters

relation_id
required string

Headers

Authorization
required string
200

Response 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
  }
}

Example cURL

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