GET
List alert states

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
state
string

Filter by state. Comma-separated.

ruleId
string

Filter to one rule's groups.

priority
string

Filter by the rule's priority. Comma-separated, P1 through P5.

lifecycleStatus
string

Filter by the rule's lifecycle status. Comma-separated, one or more of published, draft, archived.

muted
boolean

Filter to states whose rule is, or is not, currently muted.

triggeredWithin
integer

Only states that first became non-ok within this many minutes.

Required range: x >= 1

Free-text match on group label, group key, or rule name.

filterConditions
string

Filter-bar tokens (key:value, ANDed) over state, groupKey, priority, and lifecycleStatus, plus free text. An alternative to the individual filters above.

dur
string

Only states that first triggered 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 states that first triggered 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: since, triggeredAt, duration, state, groupKey, lastEvaluatedAt, latestValue, consecutiveBreaches, consecutiveNoDataCount, firstSeenAt, lastDataAt, rule, priority, alertType, team, service, runbook, project. Defaults to -since.

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