---
title: "Trigger a new scan"
method: POST
path: "/scans/run"
tags: ["Scans"]
---

# Trigger a new scan

`POST /scans/run`

## Request

- Base URL: `https://api.aitwire.com/v1`
- URL: `https://api.aitwire.com/v1/scans/run`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Request body

- object
  - `tenant` string, required
  - `domain` string, required

## Response `200`

Scan started

- object
  - `ok` boolean
  - `run_id` string

---

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