How to get all the ML external connectors available in cluster via API

I am able to get one connector like this

GET https://{{hostname}}:{{port}}/_plugins/_ml/connectors/PvPDHIsB9MGS2ILh7IXX

How to get all the connectors, i tried this below but it throws out the error and there is no documentation for this

GET https://{{hostname}}:{{port}}/_plugins/_ml/connectors

I need list of all the ml connectors got created in cluster

POST /_plugins/_ml/connectors/_search
{
  "query": {
    "match_all": {}
  }
}
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.