{ "request": { "method": "POST", "url": "https://api.mixedbread.com/v1/reranking", "headers": { "Authorization": "Bearer $MXBAI_API_KEY", "Content-Type": "application/json" }, "body": { "model": "mixedbread-ai/mxbai-rerank-large-v2", "query": "Which European city is known as the cradle of techno music?", "input": [ "Berlin's techno scene emerged in the early 1990s after reunification.", "Paris is celebrated for its haute cuisine and fashion houses.", "Detroit, in the United States, is widely cited as the birthplace of techno.", "Vienna's musical heritage centers on classical composers such as Mozart and Beethoven." ], "top_k": 3, "return_input": true } }, "response": { "object": "list", "model": "mixedbread-ai/mxbai-rerank-large-v2", "top_k": 3, "return_input": true, "data": [ {"index": 0, "score": 0.91, "input": "Berlin's techno scene emerged in the early 1990s after reunification."}, {"index": 2, "score": 0.87, "input": "Detroit, in the United States, is widely cited as the birthplace of techno."}, {"index": 3, "score": 0.21, "input": "Vienna's musical heritage centers on classical composers such as Mozart and Beethoven."} ], "usage": {"prompt_tokens": 120, "total_tokens": 120} } }