Account
Manage the authenticated account. Accounts are the top-level organizational unit and contain one or more workspaces.
Retrieves the current account for the token accessing the API
Rotates the webhook signing key for the account
ModelsExpand Collapse
type Account struct{…}
An account, the top-level organizational unit. Contains workspaces and account-wide settings such as the webhook signing secret.
Info AccountInfo
Server-populated information about the account.
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 AccountResourceMetadata
Spec APIKeySpec
Configuration for an API key.
Token stringOptional
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.
Metadata AccountResourceMetadata
Spec ProfileSpec
WebhookEventsHmacSecret stringOptional
The generated secret that will sign all webhooks that are sent to your configured Webhook URL. Formatted as “wh_asdf1234” per the https://www.standardwebhooks.com/ format.
Metadata AccountResourceMetadata
Spec AccountSpec
Configuration for an account.
Metadata AccountResourceMetadata
Spec WorkspaceSpec
type AccountInfo struct{…}
Server-populated information about the account.
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 AccountResourceMetadata
Spec APIKeySpec
Configuration for an API key.
Token stringOptional
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.
Metadata AccountResourceMetadata
Spec ProfileSpec
WebhookEventsHmacSecret stringOptional
The generated secret that will sign all webhooks that are sent to your configured Webhook URL. Formatted as “wh_asdf1234” per the https://www.standardwebhooks.com/ format.
type AccountSpec struct{…}
Configuration for an account.
Metadata AccountResourceMetadata
Spec WorkspaceSpec
type Profile struct{…}
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.