---
title: "Retrieve a scan result for a specific file"
method: GET
path: "/results/{resultId}"
tags: ["Results"]
---

# Retrieve a scan result for a specific file

`GET /results/{resultId}`

Possibility to display result for a scan of a file

## Path parameters

- `resultId` string, required

## Query parameters

- `formatted` string

## Response `200`

OK

- ScanResult[]
  - `result_id` integer
  - `name` string
  - `path` string
  - `file_sha256` string
  - `parent_file_sha256` string
  - `scan_id` string
  - `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
  - `probe_results` ProbeResult[]
    - `status` integer
    - `name` string
    - `type` 'external' | 'antivirus' | 'metadata' | 'database'
    - `results` string
    - `version` string
    - `duration` number, float
  - `probes_total` integer
  - `probes_finished` integer
  - `status` integer

## Other responses

- `404` — Not Found
- `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)
