---
title: "Start Scan"
method: POST
path: "/api/anonymization/scan"
tags: ["anonymization"]
---

# Start Scan

`POST /api/anonymization/scan`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/anonymization/scan`
- Auth: HTTP bearer

## Request body

- ScanRequest
  - `business_id` string, uuid, required
  - `document_ids` string[], required
  - `use_llm` boolean

## Response `200`

Successful Response

- JobStartedResponse
  - `job_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
