Admin Jobs Reset Stuck

Reset every running job whose started_at is older than max_age_minutes (default 5) back to queued. Recovers from the case where a Fly machine restart kills a worker mid-render — without this, those rows stay running forever and the operator has to SSH in to SQL-update them by hand.

Recently-started jobs are left alone so we don't yank work out from under a still-healthy worker.

post/v1/admin/jobs/reset-stuck

Request

  • Base URL: https://api.storyflo.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.storyflo.com/v1/admin/jobs/reset-stuck
  • Auth: none declared

Query parameters

max_age_minutesinteger

Headers

x-storyflo-email-tokenstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.