GET
/
indexes
PINECONE_API_KEY="YOUR_API_KEY"

curl -i -X GET "https://api.pinecone.io/indexes" \
  -H "Api-Key: $PINECONE_API_KEY"
{
  "indexes": [
    {
      "dimension": 1536,
      "host": "serverless-index-4zo0ijk.svc.dev-us-west2-aws.pinecone.io",
      "metric": "cosine",
      "name": "serverless-index",
      "spec": {
        "serverless": {
          "cloud": "aws",
          "region": "us-west-2"
        }
      },
      "status": {
        "ready": true,
        "state": "Ready"
      }
    },
    {
      "dimension": 1536,
      "host": "pod-index-4zo0ijk.svc.us-west2-aws.pinecone.io",
      "metric": "cosine",
      "name": "pod-index",
      "spec": {
        "pod": {
          "environment": "us-west2-aws",
          "pod_type": "p1.x1",
          "pods": 1,
          "replicas": 1,
          "shards": 1
        }
      },
      "status": {
        "ready": true,
        "state": "Ready"
      }
    }
  ]
}

Authorizations

Api-Key
string
headerrequired

Response

200 - application/json
indexes
object[]