Get calendar configuration info
POST
also GET
/_ml/calendars/{calendar_id}
POST
also GET
/_ml/calendars
Auth
Cluster privileges
monitor_ml
Expand all
calendar_id
string
optional
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 _all or * or by omitting the calendar identifier.
Leave it out to use /_ml/calendars.
from
number · default: 0
Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.
size
number · default: 10000
Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.
{
}
page
object
This object is supported only when you omit the calendar identifier.
+
Show 2 properties
from
number · default: 0
Skips the specified number of items.
size
number · default: 10000
Specifies the maximum number of items to obtain.
200
application/json
calendars
object []
required
−
Hide 3 properties
calendar_id
string
required
A string that uniquely identifies a calendar.
description
string
A description of the calendar.
job_ids
string []
required
An array of anomaly detection job identifiers.