Skip to main content
Cohere-compatible rerank

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gateway-model-regions
string | null

Body

application/json
documents
object[]
required
model
string
required
query
string
required
max_tokens_per_doc
integer<int32> | null
Required range: x >= 0
return_documents
boolean | null
top_n
integer<int32> | null
Required range: x >= 0

Response

HTTP 200 response.