GET
List alert rules

Authorizations

X-API-KEY
string
header
required

Your Atatus API key. You can also send it as the api_key query parameter or, for POST/PUT requests, in the request body.

Query Parameters

page
integer

Page number. Pagination parameter used to select the page to retrieve. Defaults to 1.

Required range: x >= 1
limit
integer

Number of records to return. Range between 1 and 500. Defaults to 50.

Required range: 1 <= x <= 500
dur
string

Only rules created or last changed in this window. Looks like 24h, 7d, 30d or now-24h. dur and timeDur are interchangeable, and dur wins when both are sent.

timeDur
string

Only rules created or last changed in this window. Looks like 24h, 7d, 30d or now-24h. dur and timeDur are interchangeable, and dur wins when both are sent.

orderBy
string

Field to sort by, prefixed with - for descending. One of: name, createdAt, updatedAt, priority, lifecycleStatus, alertType, enabled, lastEvaluatedAt, version, team, service, environment, overallStatus, lastTriggeredAt, alertCount24h, recipientCount, createdBy. Defaults to -createdAt.

Response

Success

success
boolean
data
object[]
count
integer

Number of records on this page

page
integer
limit
integer
totalCount
integer

Total number of matching records

totalPages
integer
hasMore
boolean

Whether a further page is available