Skip to main content

Trigger a bulk refresh of stale series rows against the active metadata provider.

POST 

/api/v1/series/refresh-all

Default (all=false): one settings-bounded tick. It reads batch_size and min_age_days from metadata.series_refresh; the same selection query backs the cron, so a manual click and a cron tick are behaviourally identical.

all=true: a drain that re-fetches every eligible (non-manual, provider-mapped) row in repeated batch_size chunks, ignoring the min_age_days floor, until none remain.

Both modes share the per-provider mutex (so they can't race the cron or each other) and return immediately with triggered: true once the work is spawned, or triggered: false, skipped: true when a refresh is already in flight for the active provider.

Request

Responses