Docs
List
GET /Organizations/{orgId}/apikeys
GET
/Organizations/{orgId}/apikeysLists the organization's API keys, newest first, with name, status, key version, created, last used and expiry times; the token itself is never included. Requires OrganizationAdmin on a signed-in user's token; an API key cannot call it. The api key id that ApiKeys_Revoke takes comes from here.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Response
Type: GetApiKeysResponse[]
GetApiKeysResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| status | string| null | |
| keyVersion | integer | |
| createdAt | date-time | |
| lastUsedAt | date-time| null | |
| expiresAt | date-time| null |