> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateRerankResponseBody - Go SDK

> CreateRerankResponseBody type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

Rerank response containing ranked results

## Fields

| Field      | Type                                                                                         | Required             | Description                                             | Example                                                                                                                          |
| ---------- | -------------------------------------------------------------------------------------------- | -------------------- | ------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `ID`       | `*string`                                                                                    | :heavy\_minus\_sign: | Unique identifier for the rerank response (ORID format) | gen-rerank-1234567890-abc                                                                                                        |
| `Model`    | `string`                                                                                     | :heavy\_check\_mark: | The model used for reranking                            | cohere/rerank-v3.5                                                                                                               |
| `Provider` | `*string`                                                                                    | :heavy\_minus\_sign: | The provider that served the rerank request             | Cohere                                                                                                                           |
| `Results`  | \[][operations.Result](/client-sdks/go/api-reference/operations/result)                      | :heavy\_check\_mark: | List of rerank results sorted by relevance              | \[<br />`{"document": {"text": "Paris is the capital of France."}`,<br />"index": 0,<br />"relevance\_score": 0.98<br />}<br />] |
| `Usage`    | [\*operations.CreateRerankUsage](/client-sdks/go/api-reference/operations/creatererankusage) | :heavy\_minus\_sign: | Usage statistics                                        | `{"search_units": 1,"total_tokens": 150}`                                                                                        |
