This API requires the monitor_inference cluster privilege (the built-in inference_admin and inference_user roles grant this privilege).
GET
/_inference/{task_type}/_all
curl \
--request GET 'http://api.example.com/_inference/{task_type}/_all'