Rerank documents
inference
Rerank documents
Reranks documents based on their relevance to a query.
POST
Rerank documents
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
current project ID
Body
application/json
ID of the model to use.
Example:
"Qwen/Qwen3-Reranker-8B"
Query to rerank, encoded as a string.
Example:
"What is the capital of France?"
Documents to rerank, encoded as a list of strings.
Example:
[
"The capital of Brazil is Brasilia.",
"The capital of France is Paris.",
"Amsterdam",
"Belgrade"
]A unique identifier representing your end-user.
The service tier to use for the request.
Available options:
auto, default, over-limit, flex, no-limit Example:
"auto"