---
title: "Get Cardano database snapshot information"
method: GET
path: "/artifact/cardano-database/{hash}"
---

# Get Cardano database snapshot information

`GET /artifact/cardano-database/{hash}`

Returns the information of a Cardano database snapshot and where to retrieve its binary contents

## Path parameters

- `hash` string, bytes, required

## Response `200`

Cardano database snapshot found

- CardanoDatabaseSnapshotMessage — CardanoDatabaseSnapshot represents a Cardano database snapshot and its metadata
  - `hash` string, bytes, required — Hash of the Cardano database snapshot
  - `merkle_root` string, bytes, required — Merkle root of the Cardano database snapshot
  - `network` string, bytes, 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
  - `certificate_hash` string, bytes, required — Hash of the associated certificate
  - `total_db_size_uncompressed` integer, required — Size of the uncompressed Cardano database files in Bytes
  - `created_at` string, date-time, required — Date and time at which the snapshot was created
  - `digests` CardanoDatabaseDigestsLocationsMessagePart, required — CardanoDatabaseDigestsLocationsMessagePart represents the locations of the map of file digests from the Cardano database
    - `size_uncompressed` integer, required — Size of the uncompressed digests file in Bytes
    - `locations` CardanoDatabaseArtifactLocationMessagePart[], required
      - `type` string, required — Type of the artifact location
      - `uri` string, required — URI of the artifact location
      - `compression_algorithm` string — Compression algorithm for the Cardano database artifact archive
  - `immutables` CardanoDatabaseImmutablesLocationsMessagePart, required — CardanoDatabaseImmutablesLocationsMessagePart represents the locations of the Cardano database immutable files
    - `average_size_uncompressed` integer, required — Average size of the uncompressed immutable file in Bytes
    - `locations` CardanoDatabaseImmutableLocationMessagePart[], required
      - `type` string, required — Type of the artifact location
      - `uri` MultiFilesUri, required — TemplateUri represents a URI template for multiple files
        - `Template` string, required — URI template
      - `compression_algorithm` string — Compression algorithm for the Cardano database immutable archive
  - `ancillary` CardanoDatabaseAncillaryLocationsMessagePart, required — CardanoDatabaseAncillaryLocationsMessagePart represents the locations of the Cardano database ancillary files
    - `size_uncompressed` integer, required — Size of the uncompressed ancillary file in Bytes
    - `locations` CardanoDatabaseArtifactLocationMessagePart[], required
      - `type` string, required — Type of the artifact location
      - `uri` string, required — URI of the artifact location
      - `compression_algorithm` string — Compression algorithm for the Cardano database artifact archive
  - `compression_algorithm` string — Compression algorithm of the Cardano database artifacts
  - `cardano_node_version` string — Version of the Cardano node which is used to create snapshot archives.

## Other responses

- `404` — Cardano database snapshot not found
- `default` — Cardano database snapshot retrieval error

---

[API](https://skmtc.net/input-output-hk/apis/mithril-aggregator-server.md) · [All operations](https://skmtc.net/input-output-hk/apis/mithril-aggregator-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/input-output-hk/mithril-aggregator-server/versions/bbad910c52a3/schema)
