xpack.rollup.getRollupCaps

edit
client.xpack.rollup.getRollupCaps({
  id: string
})

id

string - The ID of the index to check rollup capabilities on, or left blank for all jobs