v1
latestOpenAPI 3.1.02026-07-2675394318.9 KBinference
Rerank documents
Reranks documents based on their relevance to a query.
post/v1/rerank
Query parameters
ai_project_idstring nullable
current project ID
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