WARNING: Version 6.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
This API enables you to retrieve configuration information for calendars.
GET _xpack/ml/calendars/<calendar_id>
GET _xpack/ml/calendars/_all
-
from
- (integer) Skips the specified number of calendars.
-
size
- (integer) Specifies the maximum number of calendars to obtain.
The API returns the following information:
-
calendars
- (array) An array of calendar resources. For more information, see Calendar Resources.
You must have monitor_ml
, monitor
, manage_ml
, or manage
cluster
privileges to use this API. For more information, see
Security Privileges.