---
title: "Backfill"
method: POST
path: "/admin/onboarding/backfill"
tags: ["admin-onboarding"]
---

# Backfill

`POST /admin/onboarding/backfill`

## Request

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

Create missing state rows for licences that predate the feature.

Idempotent: it selects only licences with no row, and ensure_onboarding_state
is itself idempotent, so a second run is a no-op. Safe to re-run after a
partial failure.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/b2metric/apis/b2metric-license-api.md) - [All operations](https://skmtc.dev/b2metric/apis/b2metric-license-api/llms.txt) - [OpenAPI document](https://skmtc.dev/b2metric/apis/b2metric-license-api/revisions/5ae75adf784e?raw)
