account
API key updates
Authenticated API key configuration updates for one root account.
Channel
private:auth:api-keys:{rootAccountPublicId}:proto {
"type": "subscribe",
"channel": "private:auth:api-keys:3gDmDv6tjHJ:proto"
}Channel parameters
Public root account identifier authorized by the subscription token.
e.g. 3gDmDv6tjHJMessage
auth.v1.ApiKeyStable opaque identifier used to refer to this key, formatted as "ak_" followed by 32 lowercase hex characters.
ak_0123456789abcdef0123456789abcdefHuman-readable label for the key. Maximum length is 64 characters.
Trading botOptional user-chosen icon/emoji for UI display.
Optional user-chosen color token for UI display.
Optional CIDR whitelist. Empty means no IP restriction. Maximum 32 unique entries.
Current key status.
ACTIVEOptional sub-account this key is scoped to (opaque ID; empty = root-level).
Optional API policy attached to this key (opaque ID). Empty means no policy is attached and the key has no permissions.
Time in UTC when this key was created.
Approximate last time in UTC when this key authenticated a request, recorded at most about once a minute; it may lag recent use by a few minutes. Omitted when no use has been recorded.
Ed25519 public key bytes associated with this API key. The private key or seed is never returned by the API.
Optional expiry time in UTC. When set, the key cannot authenticate requests after this time, regardless of status.
Read-only actor label describing who created this key, such as a username or account label.
Time in UTC when this key's configuration was last changed. For the same key, later is fresher, equal is an idempotent replay, and earlier is stale. Equal timestamps with different configuration indicate an invariant failure. This is independent of last_used_at, which tracks authentication activity.
Monotonic resource revision used for conditional updates.