---
title: "Backfill Test Accounts"
method: POST
path: "/admin/test-accounts/backfill"
---

# Backfill Test Accounts

`POST /admin/test-accounts/backfill`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/admin/test-accounts/backfill`
- Auth: none declared

Mark existing QA/test accounts with the durable `is_test` flag (analytics A0.1).

Dry run by default: returns COUNTS ONLY (no ids, emails or handles) plus the rule text. To
write, send `{"apply": true, "confirm": "mark-test-accounts"}`. Idempotent — already-flagged
accounts are skipped, so a re-run flags 0. The rule is `synthetic_accounts.BACKFILL_RULE`.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
