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
Account { 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.
webhookEventsHmacSecret?: 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.
AccountInfo { globalApiKey, webhookEventsHmacSecret }
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.
webhookEventsHmacSecret?: 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.
AccountSpec { billingEmail, description, domain, workspaces }
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.