Skip to main content
objectApiKey

Fields

id
ID!

The key's id, as revokeApiKey takes it.

name
String

The key's name.

capabilities
[String!]

What the key may do, such as usage:read, sorted.

workspace

The workspace the key belongs to; null when the calling key can't reach it.

createdAt

When the key was created.

expiresAt

When the key stops working; null when it never expires. Revoking a key sets it to the moment of revocation.

lastUsedAt

When the key last made a request; null if never.