xpack.ml.getJobsedit

client.xpack.ml.getJobs({
  job_id: string,
  allow_no_jobs: boolean
})

Reference

job_id or jobId

string - The ID of the jobs to fetch

allow_no_jobs or allowNoJobs

boolean - Whether to ignore if a wildcard expression matches no jobs. (This includes _all string or when no jobs have been specified)