> For the complete documentation index, see [llms.txt](https://zumo.fusion.ac/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zumo.fusion.ac/api-reference/replay-events/replay-finished.md).

# replayFinished

Recording complete. Scrape data in `result`; MCPR metadata in `mcpr`.

{% hint style="danger" %}
`mode` is the **game mode** from scoreboard (e.g. `"4v4"`), not `"replay"`. Mode-filtered connections on `replay` will miss this event.
{% endhint %}

| Field                     | Type    | Description                                     |
| ------------------------- | ------- | ----------------------------------------------- |
| `botId`                   | string  | Worker id                                       |
| `mode`                    | string  | Game mode from scoreboard                       |
| `timestamp`               | number  | Unix seconds                                    |
| `requestId`               | string? | Job id                                          |
| `replayId`                | string  | Replay UUID                                     |
| `server` / `game` / `map` | string? | Scoreboard fields                               |
| `durationMs`              | number  | Replay length                                   |
| `result`                  | object  | Full scrape (same shape as HTTP `200` `result`) |
| `mcpr`                    | object? | `{ bucket, key, sizeBytes, etag? }`             |
