GET
/
indexes
/
{index_name}
PINECONE_API_KEY = "YOUR_API_KEY"

curl -i -X GET "https://api.pinecone.io/indexes/serverless-index" \
    -H "Api-Key: $PINECONE_API_KEY"
{
   "name": "serverless-index",
   "metric": "cosine",
   "dimension": 1536,
   "status": {
      "ready": true,
      "state": "Ready"
   },
   "host": "serverless-index-4zo0ijk.svc.us-west1-aws.pinecone.io",
   "spec": {
      "serverless": {
         "region": "us-west-2",
         "cloud": "aws"
      }
   }
}
PINECONE_API_KEY = "YOUR_API_KEY"

curl -i -X GET "https://api.pinecone.io/indexes/serverless-index" \
    -H "Api-Key: $PINECONE_API_KEY"
{
   "name": "serverless-index",
   "metric": "cosine",
   "dimension": 1536,
   "status": {
      "ready": true,
      "state": "Ready"
   },
   "host": "serverless-index-4zo0ijk.svc.us-west1-aws.pinecone.io",
   "spec": {
      "serverless": {
         "region": "us-west-2",
         "cloud": "aws"
      }
   }
}

Authorizations

Api-Key
string
header
required

Path Parameters

index_name
string
required

The name of the index to be described.

Response

200
application/json
Configuration information and deployment status of the index.

The IndexModel describes the configuration and status of a Pinecone index.

name
string
required

The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.

Required string length: 1 - 45
Example:

"example-index"

dimension
integer
required

The dimensions of the vectors to be inserted in the index.

Required range: 1 <= x <= 20000
Example:

1536

metric
enum<string>
default:cosine
required

The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'.

Available options:
cosine,
euclidean,
dotproduct
spec
object
required
Example:
{
  "pod": {
    "environment": "us-east-1-aws",
    "replicas": 1,
    "shards": 1,
    "pod_type": "p1.x1",
    "pods": 1,
    "metadata_config": {
      "indexed": ["genre", "title", "imdb_rating"]
    }
  }
}
status
object
required
Example:
{
  "ready": true,
  "state": "ScalingUpPodSize"
}
host
string

The URL address where the index is hosted.

Example:

"semantic-search-c01b5b5.svc.us-west1-gcp.pinecone.io"