Query parameters
-
Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.
-
Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.
POST /_ml/calendars
Console
GET _ml/calendars/planned-outages
resp = client.ml.get_calendars( calendar_id="planned-outages", )
const response = await client.ml.getCalendars({ calendar_id: "planned-outages", });
response = client.ml.get_calendars( calendar_id: "planned-outages" )
$resp = $client->ml()->getCalendars([ "calendar_id" => "planned-outages", ]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ml/calendars/planned-outages"