---
title: "Preprocessing Sweep Webhook"
method: POST
path: "/api/webhooks/preprocessing-sweep"
tags: ["Webhooks"]
---

# Preprocessing Sweep Webhook

`POST /api/webhooks/preprocessing-sweep`

## 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/webhooks/preprocessing-sweep`
- Auth: none declared

Start Brain preprocessing for files the upload pipeline never started.

Called every 15 minutes by Cloud Scheduler.

## Headers

- `x-webhook-secret` string, nullable

## Response `200`

Successful Response

- object

## 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)
