API Keys
Issue, rotate, and revoke API keys for the account, and grant or revoke each key’s access to individual workspaces.
ModelsExpand Collapse
api_key: object { metadata, spec, info }
An API key for the account. Use workspace-association RPCs to grant the key access to specific workspaces; a key with zero workspaces is valid but cannot access workspace-scoped resources.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
spec: object { token, description, permissions, system }
Configuration for an API key.
token: optional string
The bearer token used to authenticate as this API key. Returned only on creation and rotation; subsequent reads omit this field.
info: optional object { createdBy, workspacesPreview, workspacesTotal }
createdBy: optional object { metadata, spec }
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
api_key_info: object { createdBy, workspacesPreview, workspacesTotal }
createdBy: optional object { metadata, spec }
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
api_key_spec: object { token, description, permissions, system }
Configuration for an API key.
token: optional string
The bearer token used to authenticate as this API key. Returned only on creation and rotation; subsequent reads omit this field.
API KeysAccess
Issue, rotate, and revoke API keys for the account, and grant or revoke each key’s access to individual workspaces.