GET
List maintenance windows

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
status
enum<string>

Filter by where the window is in its schedule: all (default), active, upcoming, or past.

Available options:
all,
active,
upcoming,
past
scope
enum<string>

Filter by scope type.

Available options:
all,
alertIds,
tags,
products

Free-text match on name or description.

dur
string

Only windows overlapping this period. Looks like 24h, 7d, 30d or now-24h. dur and timeDur are interchangeable, and dur wins when both are sent.

timeDur
string

Only windows overlapping this period. 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, startTime, endTime, scope, createdAt, updatedAt. Defaults to -startTime.

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