API Keys
Create and manage API keys to authenticate requests to the Actian AI Analyst Public API.
API keys are the credentials used to authenticate requests to the Public API. Each key is scoped to your organization and grants full access to the Public API endpoints.
API key management is available to all Studio users.
Creating an API key
Go to Studio > Settings > API Keys
Click Create API Key
Enter a Name (required) β choose something descriptive, like
CI/CD PipelineorData Team AutomationOptionally add a Description for extra context
Optionally set an Expiration β the key will automatically stop working after this date. Leave blank for a key that never expires
Click Create
The secret key (sk_...) is shown once immediately after creation. Copy it and store it securely β you will not be able to view it again.
Treat your API key like a password. Store it in a secrets manager or environment variable β never commit it to source control.
Using an API key
Pass the key as a Bearer token in the Authorization header of every request:
Authorization: Bearer sk_...Example with curl:
Viewing existing keys
Navigate to Studio > Settings > API Keys to see all keys for your organization. The list shows:
Name
Human-readable label you gave the key
Description
Optional notes
Last used
When the key was last used to make an API call
Created
When the key was created and by whom
Status
Active or revoked
The secret value is never shown again after creation. If you lose a key, revoke it and create a new one.
Revoking a key
Go to Studio > Settings > API Keys
Find the key you want to remove
Click the Revoke button next to it
Confirm the action
Revoked keys are immediately rejected by the API. Any automation using that key will stop working, so make sure to rotate to a new key before revoking an old one.
Audit trail
All API requests made with a key are attributed to that key in the Audit Logs. You'll see entries like API Key: CI/CD Pipeline as the actor for any changes made via the API.
Last updated
Was this helpful?