API Keys

Get API keys

The org is orgId in the path. Returns the API keys for a specific project. API keys are used to authenticate requests to the Spice.ai runtime.

get/v1/orgs/{orgId}/projects/{projectId}/api-keys

Request

  • Base URL
    https://api.spice.ai
  • Auth
    HTTP bearer

Path parameters

orgIdinteger required

The org id from GET /v1/orgs

projectIdinteger required

The ID of the project

Headers

X-Org-Namestring

When present, X-Org-Name must name the same org as orgId. Otherwise the request returns org_path_mismatch (400).

Response

API keys for the project

api_keystring nullable

Primary API key

api_key_2string nullable

Secondary API key (for key rotation)

Changes

No recorded changes to this operation across all 1 revision of this API.