Skip to main content
POST

Authorizations

Authorization
string
header
required

An access token must be provided in the Authorization header using the Bearer scheme.

Headers

X-Pinecone-Api-Version
string
default:2026-04
required

Required date-based version header

Body

application/json

The service account to create.

name
string
required

The human-readable name of the service account.

Required string length: 1 - 80
Example:

"ci-prod"

role_bindings
object[]

Optional initial role bindings. Omitting the field or passing an empty array creates the service account with no role bindings; roles can be added later via the role binding endpoints. Not returned in the response.

Maximum array length: 100

Response

Service account created.

A service account with a newly issued OAuth client_secret. The secret is returned only once and cannot be retrieved later.

service_account
object
required

A service account. The OAuth client_secret is not included.

Example:
client_secret
string
required

The OAuth client secret. Returned exactly once. Treat this value as a credential — store it securely and never log it.