Skip to main content

Trigger an in-process historical backfill for the named source. Runs the same loop as the `tsundoku backfill` CLI, but inside the serve process under the shared per-source mutex, so it cannot race a cron poll (returns `skipped = true` when work is already in flight). Returns `422` when the source's kind does not support backfill.

POST 

/api/v1/sources/:name/backfill

Trigger an in-process historical backfill for the named source. Runs the same loop as the tsundoku backfill CLI, but inside the serve process under the shared per-source mutex, so it cannot race a cron poll (returns skipped = true when work is already in flight). Returns 422 when the source's kind does not support backfill.

Request

Responses