---
title: "Start Run"
method: POST
path: "/api/anonymization/run"
tags: ["anonymization"]
---

# Start Run

`POST /api/anonymization/run`

## 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/run`
- Auth: HTTP bearer

## Request body

- RunRequest
  - `business_id` string, uuid, required
  - `document_ids` string[], required
  - `numeric_scale` number
  - `year_offset` integer
  - `day_jitter` 'none' | 'monotone' | 'free'
  - `output_name` string, nullable
  - `block_scanned_pdfs` 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)
