> ## Documentation Index
> Fetch the complete documentation index at: https://docs.game-services.work/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Game History

> Redirects to the game history for a round ID or transaction ID.

> `GET` /platform/game-history-path

### Request Parameters

| Name | Type | Description |
| - | - | - |
| **<span style={{color: "rgb(var(--primary)"}}>roundId</span>** | `string` | Required. An encoded round ID or transaction ID. Pass either value in the `roundId` query parameter. |

### Process

1. The platform decodes `roundId` as a round ID. If that fails, it tries to decode it as a transaction ID.
2. The platform responds with `302 Found` and a `Location` header containing the game history URL. Follow the redirect to view the history.

If the value cannot be decoded as either ID type, the request fails instead of redirecting.

### Response

The successful response has no JSON body. Its `Location` header contains the destination URL, which depends on the game's software provider and the configured history URL.

<ResponseExample>
  ```http Request theme={null}
  GET /platform/game-history-path?roundId=encrypted-round-id
  ```

  ```http Response 302 theme={null}
  Location: https://history.example.com/path?roundId=encrypted-round-id
  ```
</ResponseExample>
