Explore documentation

List all Catalog attributes

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

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

URL parameters

relation_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "56",
      "type": "catalog_attribute",
      "attributes": {
        "name": "Team",
        "primary": true,
        "position": 0
      }
    },
    {
      "id": "57",
      "type": "catalog_attribute",
      "attributes": {
        "name": "Team Lead",
        "primary": false,
        "position": 1
      }
    }
  ],
  "pagination": {
    "first": "https://uptime.betterstack.com/api/v2/catalog/relations/37/attributes?page=1",
    "last": "https://uptime.betterstack.com/api/v2/catalog/relations/37/attributes?page=1",
    "prev": null,
    "next": null
  }
}

Example cURL

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