> For a complete page index of the Captain API documentation, fetch https://docs.captain.dev/llms.txt?excludeSpec=true

# Rerank Controls

* **Tune reranking per request**: `rerank` on [v3 Query](/reference/v3/query) and v2 Query now also accepts an object, `{"enabled": true, "candidate_limit": 50, "model": "voyage-rerank-2.5"}`. Pick the reranker (`voyage-rerank-2.5`, default, or `gemini-2.5-flash`), and size the candidate pool that gets reranked before your top `limit` returns (default `limit` × 3, must be ≥ `limit`, capped at 200). Booleans keep working unchanged, and the v3 response's `rerank` envelope now reports the `model` and `candidate_limit` that ran.