---
title: "Stream a full rescan of the caller's own followed accounts as SSE."
method: POST
path: "/api/v1/followed-accounts/rescan-all"
tags: ["Followed Accounts"]
---

# Stream a full rescan of the caller's own followed accounts as SSE.

`POST /api/v1/followed-accounts/rescan-all`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/followed-accounts/rescan-all`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

<br/>Global (AvatarFactory Verified) accounts are excluded for regular<br/>users — a separate scheduled process handles those. Admins rescan<br/>everything.

## Query parameters

- `category_id` integer, nullable

## Response `200`

OK

- RescanAllResponse
  - `message` string
  - `ok` boolean, required
  - `run_id` integer, nullable

## Other responses

- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

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