---
title: "Records snapshot download event"
method: POST
path: "/statistics/snapshot"
---

# Records snapshot download event

`POST /statistics/snapshot`

Records snapshot download event

## Request body

- SnapshotDownloadMessage — SnapshotDownloadMessage represents a downloaded snapshot event
  - `digest` string, bytes, required — Digest that is signed by the signer participants
  - `network` string, required — Cardano network
  - `beacon` CardanoDbBeacon, required — A point in the Cardano chain at which a Mithril certificate of the Cardano Database should be produced
    - `epoch` integer, required — Cardano chain epoch number
    - `immutable_file_number` integer, required — Number of the last immutable file that should be included the snapshot
  - `size` integer, required — Size of the immutables snapshot file in Bytes
  - `ancillary_size` integer — Size of the ancillary snapshot file in Bytes
  - `locations` string[], required — Locations where the snapshot of the immutable files can be retrieved
  - `ancillary_locations` string[] — Locations where the snapshot of the ancillary files can be retrieved
  - `compression_algorithm` string, required — Compression algorithm for the snapshot archive
  - `cardano_node_version` string, required — Version of the Cardano node which is used to create snapshot archives.

## Response `201`

Event successfully recorded

## Other responses

- `400` — Record event bad request
- `default` — Record event error

## Changes

- **2025-06-13** `1b81bf42f34b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/input-output-hk/apis/mithril-aggregator-server/changes/statistics/snapshot/post.md)

---

[API](https://skmtc.dev/input-output-hk/apis/mithril-aggregator-server.md) · [All operations](https://skmtc.dev/input-output-hk/apis/mithril-aggregator-server/llms.txt) · [OpenAPI document](https://skmtc.dev/input-output-hk/apis/mithril-aggregator-server/revisions/60d000e0b3fb?raw)
