Annotation endpoints
API token endpoints
Dataset endpoints
Monitor endpoints
Notifier endpoints
Monitor endpoints
List all monitors
Lists all configured monitors. Returns an array of monitor configurations including their IDs and current status.
GET
/
monitors
curl --request GET \
--url https://api.axiom.co/v2/monitors \
--header 'Authorization: Bearer <token>'
[
{
"alertOnNoData": true,
"aplQuery": "| where severity = 'error' | count() > 100",
"columnName": "cpu_usage",
"compareDays": 7,
"createdAt": "2024-03-20T10:00:00Z",
"createdBy": "usr_789xyz",
"description": "Monitors CPU usage and alerts when it exceeds 90%",
"disabled": false,
"disabledUntil": "2024-04-01T00:00:00Z",
"intervalMinutes": 5,
"name": "Production CPU Monitor",
"notifierIds": [
"notify_slack_prod",
"notify_email_oncall"
],
"notifyByGroup": false,
"notifyEveryRun": false,
"operator": "Above",
"rangeMinutes": 5,
"resolvable": true,
"secondDelay": 300,
"skipResolved": false,
"threshold": 90,
"tolerance": 10,
"triggerAfterNPositiveResults": 2,
"triggerFromNRuns": 3,
"type": "Threshold",
"id": "mon_xyz789"
}
]
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Response
200 - application/json
Monitor
The response is of type object[]
.
Was this page helpful?
curl --request GET \
--url https://api.axiom.co/v2/monitors \
--header 'Authorization: Bearer <token>'
[
{
"alertOnNoData": true,
"aplQuery": "| where severity = 'error' | count() > 100",
"columnName": "cpu_usage",
"compareDays": 7,
"createdAt": "2024-03-20T10:00:00Z",
"createdBy": "usr_789xyz",
"description": "Monitors CPU usage and alerts when it exceeds 90%",
"disabled": false,
"disabledUntil": "2024-04-01T00:00:00Z",
"intervalMinutes": 5,
"name": "Production CPU Monitor",
"notifierIds": [
"notify_slack_prod",
"notify_email_oncall"
],
"notifyByGroup": false,
"notifyEveryRun": false,
"operator": "Above",
"rangeMinutes": 5,
"resolvable": true,
"secondDelay": 300,
"skipResolved": false,
"threshold": 90,
"tolerance": 10,
"triggerAfterNPositiveResults": 2,
"triggerFromNRuns": 3,
"type": "Threshold",
"id": "mon_xyz789"
}
]
Assistant
Responses are generated using AI and may contain mistakes.