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
class AccountAPI { info, metadata, spec }
An account, the top-level organizational unit. Contains workspaces and account-wide settings such as the webhook signing secret.
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.
Configuration for an API key.
token: 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.
webhook_events_hmac_secret: String
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.
class AccountInfo { global_api_key, webhook_events_hmac_secret }
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.
Configuration for an API key.
token: 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.
webhook_events_hmac_secret: String
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.
class AccountSpec { billing_email, description, domain, workspaces }
class Profile { 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.