Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

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. 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