anchor.diff:  // TESTRESPONSE[s/LS8LJGEBMTCMA-qz49st/$body.$_path/]
   // TESTRESPONSE[s/Li8LJGEBMTCMA-qz49st/$body.$_path/]
   // TESTRESPONSE[s/Ly8LJGEBMTCMA-qz49st/$body.$_path/]
  +
  +The following example retrieves scheduled events that occur within a specific
  +period of time:
  +
  +[source,console]
  +--------------------------------------------------
  +GET _ml/*/planned-outages/events?start=1635638400000&end=1635724800000
  +--------------------------------------------------
  +// TEST[skip:setup:calendar_outages_addevent]
positive.code: (Required, string)
  include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=calendar-id]
  
  [[ml-get-calendar-event-request-body]]
  == {api-request-body-title}
  
  
negative.code:     time. Defaults to unset, which means results are not
      limited to specific timestamps.
  
  `job_id`::
      (Optional, string) Specifies to get events for a specific {anomaly-job}
      identifier or job group. It must be used with a calendar identifier of `_all`
      or `*`.
  
  `page.from`::
      (Optional, integer) Skips the specified number of events. Defaults to `0`.
  
  `page.size`::
      (Optional, integer) Specifies the maximum number of events to obtain.
      Defaults to `100`.
  
  `start`::
      (Optional, string) Specifies to get events with timestamps after this time.
      Defaults to unset, which means results are not limited to specific
      timestamps.
  
  [[ml-get-calendar-event-results]]
  == {api-response-body-title}
  