List catalog records
List a catalog relation's records, oldest first.
The ID of the catalog relation the catalog record belongs to.
Page to return, starting at 1.
Results per page. Maximum 250.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Bearer $TOKEN
Results are paginated
Use pagination.next and pagination.prev to move through pages or jump to a specific one using page and per_page. See Pagination.
{
"data": [
{
"id": "123456789",
"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": "t123",
"name": "SRE"
}
]
}
]
}
}
],
"pagination": {
"first": "https://incidents.betterstack.com/api/v4/catalog/relations/67/records?page=1",
"last": "https://incidents.betterstack.com/api/v4/catalog/relations/67/records?page=1",
"prev": null,
"next": null,
"total_count": 1
}
}
{
"errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
Returns the list of catalog records.
The API token is missing or invalid.
Your role doesn't allow viewing this, or the token can't be used for this API.
The catalog relation doesn't exist, or the token can't access it.
The ID of the catalog record.
Always catalog_record.
The record's values, one entry per attribute that has values. Each entry sets one catalog attribute, by ID or name, to one or more values. Required on create and update, and an update replaces all of them.
The catalog attribute to set, by ID or name. Responses include both.
The catalog attribute's ID.
The catalog attribute's name.
Values to set for this attribute.
String, or the type of the referenced item, which is one of User, Team, EscalationPolicy, OnCallSchedule, Monitor, SlackIntegration, LinearIntegration, JiraIntegration, MicrosoftTeamsIntegration, ZapierZap, OutgoingWebhook, PagerDutyIntegration or Source. Required, unless you send a text value as {value} on its own.
The text of a String value. Required when type is String.
ID of the referenced item. For a user it's u123 or their e-mail. For a team it's t123, and for any other item it's the item's own ID. Responses return users and teams in this form. Get a user's ID via List team members, and a team's ID via List teams. A reference needs one of item_id, name or email.
Referenced item's name, or null when the item has no name or no longer exists. An item can also be found by its name instead of item_id. A monitor, a Slack integration and a Zapier Zap can't be looked up by name.
Referenced user's e-mail, returned for a User. A user can also be found by e-mail.
The URL of the first page of results.
The URL of the last page of results.
The URL of the previous page, or null on the first page.
The URL of the next page, or null on the last page.
How many results the whole list holds, across every page.
Example cURL