idstring required
Unique identifier for the API key
orgIdstring required
Organization that owns this API key
agentIdstring nullable required
Agent this key is restricted to, null if unrestricted
namestring nullable required
Human-readable label for the API key
prefixstring required
Non-secret prefix of the key for identification
mode'LIVE' | 'TEST' required
Environment mode of the key
scopesstring[] required
Permission scopes granted to this key
revokedboolean required
Whether the key has been revoked
createdAtstring date-time required
ISO 8601 timestamp when the key was created
lastUsedAtstring date-time nullable required
ISO 8601 timestamp when the key was last used, null if never used
expiresAtstring date-time nullable required
ISO 8601 timestamp when the key expires, null if no expiration
createdBystring nullable required
User ID of the key creator, null if created by system