API Keys
Issue, rotate, and revoke API keys for the account, and grant or revoke each key’s access to individual workspaces.
List API keys
Create a new API key
Get an API key by ID
Delete an API key
Update an API key
Rotate an API key
ModelsExpand Collapse
APIKey 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.
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
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.
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.
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
APIKeyInfo object { createdBy, workspacesPreview, workspacesTotal }
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.
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
APIKeySpec 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.