xpack.ml.getCategoriesedit

client.xpack.ml.getCategories({
  job_id: string,
  category_id: number,
  from: number,
  size: number,
  body: object
})

Reference

job_id or jobId

string - The name of the job

category_id or categoryId

number - The identifier of the category definition of interest

from

number - skips a number of categories

size

number - specifies a max number of categories to get

body

object - Category selection details if not provided in URI