Skip to main content
Version: 1.0

List API Keys API Definition

The List API Keys API lists all existing API keys for a customer ID. It also shows what corpora are accessed by these keys and with what permissions. This capability can provide insights into key usage and status and help you manage the lifecycle and security of your API keys.

Specify numResults, the pageKey, and readCorporaInfo which indicates whether to return the corpus name and corpus_id associated with the API keys.

The response includes a keyData object that shows pairs of apiKey and corpus objects.

tip

Check out our interactive API Playground that lets you experiment with this REST endpoint to list API keys in an account.

REST Example

List API Keys Endpoint Address

Vectara exposes a REST endpoint at the following URL to list API keys:
https://api.vectara.io/v1/list-api-keys

The API Playground shows the full List API Keys REST definition.

gRPC Example

You can find the full List API Keys gRPC definition at admin_apikey.proto.