Rerank documents
Rerank a list of documents by relevance to a query
POST
/v1/rerank
Service root: https://getrouter.ai
Protocol: Rerank API
Authentication: Authorization: Bearer YOUR_API_KEY
Request body
The request body is required. Media type: application/json
Request fields
Example request
Responses
Success response fields
Example response
Related guide
For complete workflows and examples, read the Rerank API Guide.
This page is generated from the public Relay OpenAPI specification. Browse the complete specification in the API Explorer.
