xpack.ml.forecastedit

client.xpack.ml.forecast({
  job_id: string,
  duration: string,
  expires_in: string
})

job_id or jobId

string - The ID of the job to forecast for

duration

string - The duration of the forecast

expires_in or expiresIn

string - The time interval after which the forecast expires. Expired forecasts will be deleted at the first opportunity.