us-west-2
and us-east-1
regions. Check the current limitations and test thoroughly before using it in production.create_index
, describe_index
, and list_indexes
is https://api.pinecone.io
. You use this URL regardless of the cloud environment where an index is hosted. This simplifes the experience compared to the legacy API, where each environment has a unique URL: https://controller.{environment}.pinecone.io
.
https://api.pinecone.io
).
New API
Using the new API, you initialize a client object just with your project API key:
us-west-2
and us-east-1
regions. Check the current limitations and test thoroughly before using it in production.ServerlessSpec
class and using the spec
parameter to define the cloud and region where the index should be deployed:
PodSpec
class and using the spec
parameter to define the environment where the index should be deployed, the pod type and size to use, and other index characteristics:
gcp-starter
environment, which is the us-central-1 (Iowa) region of the GCP cloud.
New API
Using the new API, you create a starter index by importing the PodSpec
class and setting environment="gcp-starter"
in the spec
parameter:
describe_index
operation.
New API