---
title: "The exact bytes a machine file served in a given record, from the artifact store, re-hashed before they are returned (licence or owner)"
method: GET
path: "/api/rollback/file"
---

# The exact bytes a machine file served in a given record, from the artifact store, re-hashed before they are returned (licence or owner)

`GET /api/rollback/file`

## Request

- Base URL: `https://crawlcheck.io`
- URL: `https://crawlcheck.io/api/rollback/file`
- Auth: none required

## Query parameters

- `id` string, required
- `path` string, required

## Response `200`

the file; x-crawlcheck-sha256 carries its hash

## Other responses

- `403`: needs a licence or the owner's session
- `404`: no file at that path in the record, or the bytes were not kept

---

[API](https://skmtc.dev/crawlcheck/apis/crawlcheck-api.md) · [All operations](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/revisions/57acbd6d4489?raw)
