xpack.ml.validate

edit
client.xpack.ml.validate({
  body: object
})

body

object - The job config