Cancel an in-flight backfill run
POST /admin/metadata-extraction/backfills/{id}/cancel
POST
/admin/metadata-extraction/backfills/{id}/cancel
Flips cancelled_at to NOW(). The running coordinator job observes the flag on the next batch boundary + exits cleanly. Already-cancelled / already-completed runs are no-ops (returns 204). 404 if the id never existed.
Gated on system.admin.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”Cancellation accepted.
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
error
required
Human-readable error summary
string
Example
the request could not be completedResource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completed