v1

latestOpenAPI 3.1.02026-08-0413468163.9 KB
v1-api-keys

List Api Keys

List all API keys for the organization.

Requires 'api_keys.read' permission.

Returns: List of API keys (without secret keys)

get/v1/orgs/{org_id}/api-keys

Path parameters

org_idstring required

Response

Active (unrevoked) keys, newest first.

idstring required

API key ID.

namestring required

Human-readable key name.

key_prefixstring required

First characters of the key; the secret itself is never returned.

scopesstring[] required

Permission scopes granted to the key.

expires_atstring nullable

When the key expires. Null when it does not expire.

revoked_atstring nullable

When the key was revoked. Null for active keys.

created_atstring required

When the key was created.

last_used_atstring nullable

When the key last authenticated a request. Null when never used.

usersobject nullable

Who created the key: {email, full_name}.