Skip to main content

API keys

Generate personal API keys to interact with mixus programmatically. Perfect for automation, integrations, and eval tasks.

Overview

mixus API keys allow you to:
  • ✅ Create and manage evaluation tasks
  • 📊 Track agent execution status
  • 🤖 Automate workflows
  • 🔗 Integrate with external systems
  • 📈 Monitor performance metrics

Generating your first API key

Step 1: navigate to API keys

  1. Sign in to app.mixus.ai
  2. Go to Integrationsmixus API Keys
  3. Click “Manage API Keys”

Step 2: create key

  1. Click “Generate API Key”
  2. Fill in the details:
    • Name: Descriptive name (e.g., “Production Eval Key”)
    • Description: What you’ll use this key for
    • Permissions: Select the scopes you need
    • Expiration: Choose when the key expires
  3. Click “Generate API Key”

Step 3: save your key

⚠️ Important: The key is shown only once! Copy it immediately and store it securely. Your key will look like:

Permissions and scopes

Control what your API keys can access:

Available scopes


Using your API key

Basic usage

Include your API key in the Authorization header:

Example: create eval task

Response:

Example: check status


Best practices

Security

Do:
  • Store keys in environment variables
  • Use different keys for dev/production
  • Rotate keys regularly (30-90 days)
  • Use minimal required permissions
  • Revoke compromised keys immediately
Don’t:
  • Commit keys to version control
  • Share keys between team members
  • Store keys in client-side code
  • Use production keys in development

Example: Secure Storage


Managing your keys

View active keys

Visit app.mixus.ai/integrations/api-keys to see:
  • All your active keys
  • Usage statistics
  • Last used date
  • Expiration status

Revoke a key

  1. Go to API keys page
  2. Find the key you want to revoke
  3. Click the trash icon
  4. Confirm revocation
Note: Revoked keys stop working immediately.

Limitations

  • Maximum keys: 10 active keys per user
  • Rate limit: 100 requests per minute per key
  • Concurrent executions: 10 simultaneous eval tasks
  • Key length: 41 characters (format: mxs_eval_[32 chars])

Troubleshooting

”Unauthorized” error

Problem: API returns 401 Unauthorized Solutions:
  1. Check your API key is correct
  2. Verify key hasn’t expired
  3. Ensure key hasn’t been revoked
  4. Confirm you have the required scope

”Access denied” error

Problem: API returns 403 Access Denied Solution: Your API key doesn’t have the required permission. Generate a new key with the correct scope.

Key not working

Problem: Newly generated key doesn’t work Solutions:
  1. Wait 5-10 seconds (propagation delay)
  2. Check you copied the entire key
  3. Verify no extra spaces in the key
  4. Ensure you’re using the Bearer format


Support

Need help with API keys?