##Required authorization
- Cluster privileges:
monitor_ml
Path parameters
-
A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using
_allor*or by omitting the calendar identifier.
Query parameters
-
Specifies to get events with timestamps earlier than this time.
-
Skips the specified number of events.
-
Specifies to get events for a specific anomaly detection job identifier or job group. It must be used with a calendar identifier of
_allor*. -
Specifies the maximum number of events to obtain.
-
Specifies to get events with timestamps after this time.
GET
/_ml/calendars/{calendar_id}/events
Console
GET _ml/calendars/planned-outages/events
curl \
--request GET 'http://api.example.com/_ml/calendars/{calendar_id}/events'