Error
A valid request URL is required to generate request examples{
"id": "<string>",
"results": [
{
"index": 123,
"relevance_score": 123,
"document": {}
}
],
"meta": {}
}Cohere Integration
Rerank documents (Cohere format)
Reranks a list of documents against a query using Cohere’s v2 Rerank API. The request body matches Cohere’s native format.
POST
/
cohere
/
v2
/
rerank
Error
A valid request URL is required to generate request examples{
"id": "<string>",
"results": [
{
"index": 123,
"relevance_score": 123,
"document": {}
}
],
"meta": {}
}Authorizations
BearerAuthBasicAuthVirtualKeyAuthApiKeyAuth
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Body
application/json
Cohere rerank model identifier (e.g. rerank-english-v3.0).
Query string to rank documents against.
Documents to rerank. Strings or objects with a text field.
Return only the top N reranked results.
Include the original document text in the response.
Truncate each document to this token limit before ranking.
Was this page helpful?
⌘I

