---
title: "Check a file with THOR"
method: POST
path: "/check"
tags: ["scan"]
---

# Check a file with THOR

`POST /check`

## Request

- Base URL: `http://localhost:8080/api/v1`
- URL: `http://localhost:8080/api/v1/check`
- Auth: none declared
- TypeScript: <https://skmtc.dev/nextron-systems/apis/thor-thunderstorm-api/docs/check/post.ts> (a function with typed inputs; its response is checked against the schema)

Check a file with THOR

## Query parameters

- `source` string

## Request body `multipart/form-data`

- FileObject: Wrapped file
  - `file` string, binary, required: File to be checked

## Response `200`

Returns a list of findings

- ThorFinding[]: THOR Report containing findings

## Other responses

- `400`: Invalid parameters given
- `500`: Unauthorized

---

[API](https://skmtc.dev/nextron-systems/apis/thor-thunderstorm-api.md) - [All operations](https://skmtc.dev/nextron-systems/apis/thor-thunderstorm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nextron-systems/apis/thor-thunderstorm-api/revisions/f8207ca0b201?raw)
