GET
/
indexes
PINECONE_API_KEY="YOUR_API_KEY"

curl -i -X GET "https://api.pinecone.io/indexes" \
-H "Api-Key: $PINECONE_API_KEY" \
-H "X-Pinecone-API-Version: 2025-04"
{
    "indexes": [
        {
            "name": "example-index2",
            "metric": "cosine",
            "dimension": 1536,
            "status": {
                "ready": true,
                "state": "Ready"
            },
            "host": "example-index2-govk0nt.svc.aped-4627-b74a.pinecone.io",
            "spec": {
                "serverless": {
                    "region": "us-east-1",
                    "cloud": "aws"
                }
            },
            "deletion_protection": "disabled",
            "tags": {
                "environment": "production",
                "example": "tag2"
            },
			"vector_type": "dense"
        },
        {
            "name": "example-index1",
            "metric": "cosine",
            "dimension": 1536,
            "status": {
                "ready": true,
                "state": "Ready"
            },
            "host": "example-index1-govk0nt.svc.aped-4627-b74a.pinecone.io",
            "spec": {
                "serverless": {
                    "region": "us-east-1",
                    "cloud": "aws"
                }
            },
            "deletion_protection": "disabled",
            "tags": {
                "environment": "development",
                "example": "tag"
            },
			"vector_type": "dense"
        }
    ]
}
PINECONE_API_KEY="YOUR_API_KEY"

curl -i -X GET "https://api.pinecone.io/indexes" \
-H "Api-Key: $PINECONE_API_KEY" \
-H "X-Pinecone-API-Version: 2025-04"
{
    "indexes": [
        {
            "name": "example-index2",
            "metric": "cosine",
            "dimension": 1536,
            "status": {
                "ready": true,
                "state": "Ready"
            },
            "host": "example-index2-govk0nt.svc.aped-4627-b74a.pinecone.io",
            "spec": {
                "serverless": {
                    "region": "us-east-1",
                    "cloud": "aws"
                }
            },
            "deletion_protection": "disabled",
            "tags": {
                "environment": "production",
                "example": "tag2"
            },
			"vector_type": "dense"
        },
        {
            "name": "example-index1",
            "metric": "cosine",
            "dimension": 1536,
            "status": {
                "ready": true,
                "state": "Ready"
            },
            "host": "example-index1-govk0nt.svc.aped-4627-b74a.pinecone.io",
            "spec": {
                "serverless": {
                    "region": "us-east-1",
                    "cloud": "aws"
                }
            },
            "deletion_protection": "disabled",
            "tags": {
                "environment": "development",
                "example": "tag"
            },
			"vector_type": "dense"
        }
    ]
}

Authorizations

Api-Key
string
header
required

An API Key is required to call Pinecone APIs. Get yours from the console.

Response

200
application/json
This operation returns a list of all the indexes that you have previously created, and which are associated with the given project

The list of indexes that exist in the project.

indexes
object[]

Was this page helpful?