Skip to main content
POST
cURL

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
collection_slugs
string[]

Count only alerts from monitors owned by one of these collections.

include_signals
boolean

Include each monitor's firing signals.

label_filters
object[]

Each LabelFilter is one AND clause; the clauses are OR'ed together. Applied to alerts before they roll up into monitor statuses, with the same semantics as ListAlerts.

monitor_slugs
string[]

Return only these monitors. When empty, returns every monitor with a firing alert that matches the other filters. A named monitor with no firing alert matching the filters is returned as passing, even when it has firing alerts the filters exclude. Slugs are not checked against existing monitors, so a slug that names no monitor is also returned as passing.

severity
enum<string>

Count only alerts of this severity. Unset counts both.

Available options:
WARN,
CRITICAL
team_slugs
string[]

Count only alerts from monitors owned by one of these teams.

Response

A successful response.

monitor_statuses
object[]

One entry per monitor with at least one firing alert matching the filters, plus a passing entry for each of monitor_slugs that has none, ordered by monitor slug. Other monitors are omitted.