List catalog relations

Returns a list of all your Catalog relations.

GET https://incidents.betterstack.com/api/v2/catalog/relations

Query parameters

page
integer
per_page
integer

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "37",
      "type": "catalog_relation",
      "attributes": {
        "name": "Team",
        "description": "Catalog of organization teams",
        "match_mode": "any"
      }
    }
  ],
  "pagination": {
    "first": "https://incidents.betterstack.com/api/v2/catalog/relations?page=1",
    "last": "https://incidents.betterstack.com/api/v2/catalog/relations?page=1",
    "prev": null,
    "next": null
  }
}

Response attributes

id
string
type
string
attributes.name
string
attributes.description
string or null
attributes.match_mode
string
pagination.first
string
pagination.last
string
pagination.prev
string or null
pagination.next
string or null

Example cURL

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