API keys

A secret credential that authenticates a user over RPC, MCP, and CLI with that user's permissions.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
UserreferenceIdUserYes
NamenameText
Permission roleroleIdReferenceThe role whose lines the key acts with. Without a role the key holds nothing.
Created atcreatedAtTimestampYes
Updated atupdatedAtTimestampYes

Relations

Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.

API keysUsers
FieldPoints toKind
User referenceIdUsersgrouped by
Permission role roleIdRolesreference

Actions

What you can do with a record. Every action also sends the webhook event apikeys.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
EditupdateSave changes to this api key.App · WebMCP · API · MCP · CLI
DeletedeleteDelete this api key and the data that belongs with it. This cannot be undone.App · WebMCP · API · MCP · CLI

Events

Moments the record reaches on its own. Subscribe to them with a webhook.

NameWebhook eventDescription
Issuedapikeys.issuedAn API key was issued.
Revokedapikeys.revokedAn API key was revoked.