The Audit Logs API is available on Enterprise plans only. Workspace API keys are managed in the Secrets section of your workspace settings.
Required role
Only workspace owners and admins can create and manage workspace API keys. Regular workspace members do not have access to the Secrets page in workspace settings. To learn about workspace roles, see Managing your workspace members.Workspace API key
Include your workspace API key in theapi_key header with all requests:
Example request
Get your workspace API key
- Click your workspace name at the top left and click Settings.
- Click Secrets in the sidebar.
- Click + Create API Key.
- Enter a name for the key and an optional description, then click Create Key.
- Copy the key immediately and store it securely.

