inference
Rerank documents
Reranks documents based on their relevance to a query.
post/v1/rerank
Request
- Base URLhttps://api.tokenfactory.nebius.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ai_project_idstring nullable
current project ID
Request body
Example request
{
"model": "Qwen/Qwen3-Reranker-8B",
"query": "What is the capital of France?",
"documents": [
"The capital of Brazil is Brasilia.",
"The capital of France is Paris.",
"Amsterdam",
"Belgrade"
]
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.