Task Run
Create a Task Run
Create a Task Run: a phased, policy-gated execution of one operation across many Racks. The configuration is validated server-side by Flow; on validation failure no state changes.
A Task Run executes exactly one operation over a candidate set of Racks, narrowed by an optional selector and divided into phases by an optional options.phasePolicy. The response echoes the assigned id; the Task Run always starts in the Pending state. Poll GET /task/run/{id} for progress.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
post/v2/org/{org}/nico/task/run
Request body
Example request
{
"options": {
"conflictPolicy": {
"retry": {
"retryTimeout": "30m",
"initialRetryDelay": "10s",
"maxRetryDelay": "5m"
}
}
}
}Response
Task Run was created.