Docs

List

GET /Organizations/{orgId}/apikeys

GET/Organizations/{orgId}/apikeys

Lists 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

FieldTypeRequiredDescription
orgIduuidRequired

Response

Type: GetApiKeysResponse[]

GetApiKeysResponse

FieldTypeDescription
iduuid
namestring| null
statusstring| null
keyVersioninteger
createdAtdate-time
lastUsedAtdate-time| null
expiresAtdate-time| null