Authentication
Creating an API Key
- Log in to your Mixedbread account.
- Navigate to API Keys β Create.
- Give your key a descriptive name.
- Copy your key immediatelyβit won't be displayed again.
Using Your API Key
Include your API key in the Authorization
header of your requests to access the API:
SDK Authentication
If you're using our SDKs, simply pass your API key to the constructor:
Security Best Practices
Protecting Your API Key
- Never expose your API key in client-side code, public repositories, or logs
- Use environment variables or secure secret management systems
- Implement proper access controls in your application infrastructure
- Monitor API usage for unusual patterns that might indicate compromised keys
Key Management
- Rotate keys regularly as part of your security hygiene
- Use different keys for development, staging, and production environments
- Revoke unused keys immediately when team members leave or projects end
- Reset compromised keys immediately if you suspect unauthorized access
Development Tips
For production deployments, use your platform's secret management system (AWS Secrets Manager, Azure Key Vault, Google Secret Manager, etc.).
Introduction
The Mixedbread API enables powerful text embeddings, semantic search, and document intelligence capabilities for AI-powered applications.
Rate Limiting
Documentation on API rate limits with tier-based quotas. Learn about request limits, how to handle rate limiting responses, and strategies for optimizing your API usage.
Last updated: June 10, 2025