List rerankers
GET/v2/rerankers
Rerankers are used to improve the ranking (ordering) of search results.
Request
Query Parameters
A regular expression against reranker names and descriptions.
Possible values: >= 1
and <= 100
Default value: 10
The maximum number of rerankers to return in the list.
Used to retrieve the next page of rerankers after the limit has been reached.
Header Parameters
Possible values: >= 1
The API will make a best effort to complete the request in the specified seconds or time out.
Possible values: >= 1
The API will make a best effort to complete the request in the specified milliseconds or time out.
Responses
- 200
- 403
List of rerankers.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
rerankers object[]
An array of rerankers.
Possible values: Value must match regular expression rnk_[0-9]+$
The ID of the reranker.
The name of the reranker.
The description of the reranker.
Whether the reranker is enabled.
metadata object
The standard metadata in the response of a list operation.
When requesting the next page of this list, this is needed as a query parameter.
{
"rerankers": [
{
"id": "string",
"name": "string",
"description": "string",
"enabled": true
}
],
"metadata": {
"page_key": "string"
}
}
Permissions do not allow listing rerankers.
- application/json
- Schema
- Example (from schema)
Schema
The messages describing why the error occurred.
The ID of the request that can be used to help Vectara support debug what went wrong.
{
"messages": [
"Internal server error."
],
"request_id": "string"
}