Skip to main content

Overview

API key management endpoints

Available Operations

getCurrentKeyMetadata

Get information on the API key associated with the current authentication session

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.GetCurrentKeyResponse>

Errors

list

List all API keys for the authenticated user. Management key required.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.ListResponse>

Errors

create

Create a new API key for the authenticated user. The plaintext key is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. Management key required.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.CreateKeysResponse>

Errors

delete

Delete an existing API key. Management key required.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.DeleteKeysResponse>

Errors

get

Get a single API key by hash. Management key required.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.GetKeyResponse>

Errors

update

Update an existing API key. Management key required.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.UpdateKeysResponse>

Errors