Rank passages by their relation to a query.

Order a list of passages by their relation to a query.

Note that if a given query + passage pair is longer than the ranking model's context window,
it will be automatically truncated.

Body Params
string
required
length between 1 and 128

Model identifier

query
object
required

A type signifier for multimodal data.

Supported data types: text.

passages
array of objects
required
length between 1 and 512

Text passages to rank based on the query

Passages*
string
required
length between 1 and 14598366
string
enum
Defaults to NONE
Allowed:
Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
country_code