GET /indexes
List indexes

Example

=== “Marqo Open Source” === “cURL”
curl http://localhost:8882/indexes
=== “Python”
mq.get_indexes()
=== “Marqo Cloud” === “cURL”
curl https://api.marqo.ai/api/v2/indexes \
-H 'x-api-key: XXXXXXXXXXXXXXX' 
=== “Python”
mq.get_indexes()

Response: 200 OK

{
  "results": [
    {
      "indexName": "Book Collection"
    },
    {
      "indexName": "Animal facts"
    }
  ]
}