xpack.ml.getCalendarsedit

client.xpack.ml.getCalendars({
  calendar_id: string,
  from: number,
  size: number
})

calendar_id or calendarId

string - The ID of the calendar to fetch

from

number - skips a number of calendars

size

number - specifies a max number of calendars to get