---
title: "Get files details and all related scans results"
method: GET
path: "/files/{sha256}"
tags: ["Files"]
---

# Get files details and all related scans results

`GET /files/{sha256}`

Get detailled information about the given file identified by its hash value (SHA256).
List all known scan results for this file

## Path parameters

- `sha256` string, required

## Query parameters

- `name` string
- `offset` integer
- `limit` integer
- `alt` string

## Response `200`

OK

- object
  - `total` integer
  - `offset` integer
  - `limit` integer
  - `file_infos` File
    - `id` number, double
    - `sha256` string
    - `sha1` string
    - `md5` string
    - `mimetype` string
    - `timestamp_first_scan` string, date-time
    - `timestamp_last_scan` string, date-time
    - `size` integer
    - `tags` Tag[]
      - `id` number, double
      - `text` string
  - `items` SummaryScanResult[]
    - `status` integer
    - `probes_finished` integer
    - `probes_total` integer
    - `scan_id` string
    - `scan_date` string, date-time
    - `name` string
    - `file_sha256` string
    - `parent_file_sha256` string
    - `path` string
    - `result_id` integer

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.dev/quarkslab/apis/irma-api.md) · [All operations](https://skmtc.dev/quarkslab/apis/irma-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quarkslab/irma-api/revisions/1e1006c1389c/schema)
