Start a maintenance task
Starts a run of a registered maintenance task and returns it. The run
is enqueued, so poll it while active is true.
arguments are validated by the task’s own Active Model validations,
so a bad value is rejected here rather than failing on the first
record. dry_run is honored only by tasks whose supports_dry_run is
true — recording a run as a preview that would in fact have written
would misrepresent what happened.
Only one run of a task can be in flight at a time: two would race over the same records and their cursors would leapfrog.
Required scope: write_maintenance_tasks (for API-key authentication).
Authorizations
Headers
Body
Response
maintenance task started

