List anomalies

Returns a list of detected anomalies.
Anomalies can be sorted by startTime, severityLevel, or costOfAnomaly using sortBy and sortOrder. By default they are sorted by startTime in descending order (most recent first).
The sort order is total and reproducible: ties on the selected field are broken by startTime descending and then by anomaly id ascending, so the same result set always paginates in the same order.
The notifications array is always present on each anomaly item; it is empty unless includeNotifications=true is supplied.
Pagination stability: sortBy, sortOrder, filter, minCreationTime, and maxCreationTime must be held constant across a pagination sequence. A pageToken presented with any of them changed is rejected with 400.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
int64

Inclusive lower bound on the anomaly's usage start time, in milliseconds since the POSIX epoch. Despite the name, this filters the anomaly's usage start time, not the time the anomaly document was created.

int64

Inclusive upper bound on the anomaly's usage start time, in milliseconds since the POSIX epoch. Despite the name, this filters the anomaly's usage start time, not the time the anomaly document was created.

string

An expression for filtering the results. The syntax is key:value. Multiple criteria can be combined using a pipe |. See Filters.
Available filter keys: serviceName, billingAccount, platform, severityLevel. severityLevel values must be lowercase: information, warning, critical. An unrecognised key, or a segment that is not key:value, is rejected with 400 rather than ignored.

string
enum
Defaults to startTime

A field by which the results will be sorted. Defaults to startTime.

Allowed:
string
enum

Sort order can be ascending or descending.

Allowed:
int64

The maximum number of results to return in a single page. If omitted, all anomalies matching the filters and time window are returned in a single page.

string

Page token, returned by a previous call, to request the next page of results

boolean
Defaults to false

Include anomaly notifications from the subcollection. Defaults to false.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json