---
title: "GET /v1/{innovationId}/files/{fileId}/scan-status"
method: GET
path: "/v1/{innovationId}/files/{fileId}/scan-status"
tags: ["[v1] Innovation Files"]
---

# GET /v1/{innovationId}/files/{fileId}/scan-status

`GET /v1/{innovationId}/files/{fileId}/scan-status`

## Request

- Base URL: `https://nhse-${ENV}-innovation-service-innovation-functions.azurewebsites.net/api`
- URL: `https://nhse-${ENV}-innovation-service-innovation-functions.azurewebsites.net/api/v1/{innovationId}/files/{fileId}/scan-status`
- Auth: none declared

Get the current malware scan state and download availability of an authorized file.

## Path parameters

- `innovationId` string, uuid, required
- `fileId` string, uuid, required

## Response `200`

Current scan state

- object
  - `id` string, uuid, required
  - `scanState` 'legacy_allowed' | 'scanning' | 'ready' | 'rejected' | 'delayed' | 'scan_failed' | 'not_scanned' | 'removed' | 'unavailable', required
  - `canDownload` boolean, required
  - `retryAfterSeconds` integer
  - `url` string

## Other responses

- `400`: Invalid request
- `401`: Not authenticated
- `403`: Not authorized
- `404`: File not found
- `500`: An error occurred while processing the request

## Changes

- **2026-11-16** `5113d7fc95fe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/changes/v1/:innovationId/files/:fileId/scan-status/get.md)

---

[API](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service.md) - [All operations](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/llms.txt) - [OpenAPI document](https://skmtc.dev/nhs-england/apis/innovations-api-nhs-innovation-service/revisions/5113d7fc95fe?raw)
