Quick Start

Welcome to the quick start guide for mixedbread. We'll walk you through the basic steps of making requests to our Embeddings and Reranking APIs.

Prerequisites

To make a request to our APIs, you will need an API key for authentication. You can create this on your .

Remember to replace {MIXEDBREAD_API_KEY} with your actual API key in the following examples.

Embeddings API

The following example demonstrates how to generate embeddings for a list of input texts using our Embeddings API and use them for retrieval.

Reranking API

The following example shows how to rerank a list of documents based on their relevance to a query.

Congratulations, you've made your first successful requests to the mixedbread APIs! If you run into any issues, please refer to our or .