Query parameters

  • fromnumber

    Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.

  • sizenumber

    Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.

application/json

Body

  • pageobject
    Hide page attributes Show page attributes object
    • fromnumber

      Skips the specified number of items.

    • sizenumber

      Specifies the maximum number of items to obtain.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • calendarsarray[object] Required
      Hide calendars attributes Show calendars attributes object
      • calendar_idstring Required
      • A description of the calendar.

      • job_idsarray[string] Required

        An array of anomaly detection job identifiers.

    • countnumber Required
GET /_ml/calendars
curl \
 --request GET 'http://api.example.com/_ml/calendars' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"page":{"from":42.0,"size":42.0}}'