← Documentation

API Keys

Configure your AI provider credentials to enable request optimization.

Admin Only — Only organization administrators can add, modify, or remove API keys.

Supported Providers

Adding an API Key

  1. Navigate to your organization
  2. Click the API Keys tab
  3. Click Add API Key
  4. Select the provider
  5. Enter a descriptive name (e.g., "Production" or "Development")
  6. Paste your API key
  7. Select the environment
  8. Click Create

Environment Types

Production — Live applications and services
Staging — Pre-production testing
Development — Local development and debugging

Testing Keys

After adding a key, verify it works by clicking the Test button in the API Keys table. This makes a minimal API call to validate the credentials.

A successful test confirms the key is valid and has sufficient permissions.

Managing Keys

Deactivating

Temporarily disable a key without deleting it. Click Deactivateto stop using the key. Reactivate it anytime.

Deleting

Permanently remove a key by clicking Delete. This action cannot be undone.

Multiple Keys

You can add multiple keys for the same provider to separate usage across different environments or projects.

Security Best Practices

Never share API keys in public repositories or chat channels.

Rotate compromised keys immediately at the provider's console.

Use separate keys for production and development environments.

Set spending limits at your provider to prevent unexpected charges.

Troubleshooting

Test failed: Invalid API key

Verify the complete key was copied without extra spaces. Try generating a new key from the provider.

Test failed: Insufficient quota

Your API key has exhausted its credits or hit rate limits. Add credits at the provider's billing page.

Add API Key button not visible

Only Admins can manage API keys. Contact an organization Admin to add keys or request Admin access.

Next Steps