See the Go SDK documentation for full installation instructions and usage examples.
To make a feature request or report an issue, please file an issue.
The Pinecone Go SDK requires a Go version with modules support.
SDK versions are pinned to specific API versions. When a new API version is released, a new version of the SDK is also released.
The mappings between API versions and Go SDK versions are as follows:
API version | SDK version |
---|---|
2025-04 | v4.x |
2025-01 | v3.x |
2024-10 | v2.x |
2024-07 | v1.x |
2024-04 | v0.x |
When a new stable API version is released, you should upgrade your SDK to the latest version to ensure compatibility with the latest API changes.
To install the latest version of the Go SDK, add a dependency to the current module:
To install a specific version of the Go SDK, run the following command:
To check your SDK version, run the following command:
Before upgrading to v3.0.0
or later, update all relevant code to account for the breaking changes explained here.
If you already have the Go SDK, upgrade to the latest version as follows:
Once installed, you can import the SDK and then use an API key to initialize a client instance:
See the Go SDK documentation for full installation instructions and usage examples.
To make a feature request or report an issue, please file an issue.
The Pinecone Go SDK requires a Go version with modules support.
SDK versions are pinned to specific API versions. When a new API version is released, a new version of the SDK is also released.
The mappings between API versions and Go SDK versions are as follows:
API version | SDK version |
---|---|
2025-04 | v4.x |
2025-01 | v3.x |
2024-10 | v2.x |
2024-07 | v1.x |
2024-04 | v0.x |
When a new stable API version is released, you should upgrade your SDK to the latest version to ensure compatibility with the latest API changes.
To install the latest version of the Go SDK, add a dependency to the current module:
To install a specific version of the Go SDK, run the following command:
To check your SDK version, run the following command:
Before upgrading to v3.0.0
or later, update all relevant code to account for the breaking changes explained here.
If you already have the Go SDK, upgrade to the latest version as follows:
Once installed, you can import the SDK and then use an API key to initialize a client instance: