Authentication
Learn how to securely authenticate with the Mixedbread API. This guide covers creating and using API keys, implementing authentication in API requests and SDKs, and best practices for API key management to ensure the security of your integration.
Creating an API Key
- Go to the Mixedbread dashboard
- Create a new API key
- Keep your key secret!
Using Your API Key
Include your API key in the Authorization
header of your requests:
SDK Authentication
If you're using our SDKs, simply pass your API key to the constructor:
Best Practices
- Never expose your API key in client-side code or public repositories
- Use environment variables to store your API key
- Rotate your API key regularly
- If you suspect your key is compromised, reset it immediately in the dashboard
Happy Baking! 🍞
Last updated on
Quickstart
Get started with Mixedbread's API in minutes. Learn how to obtain your API key and make your first API calls for embeddings and reranking. This guide provides easy-to-follow steps and code snippets to quickly integrate Mixedbread's powerful NLP capabilities into your projects.
Rate Limiting
Understand Mixedbread's API rate limiting policies, including tier-based limits, handling rate limit errors, and best practices for optimal API usage. Learn how to manage your requests efficiently and upgrade your limits as your needs grow.