Retrieve all Tasks
Changed onList all Tasks created in the specified Site, across every Rack and Tray.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix, and the Site must belong to that Provider and have NICo Flow enabled.
Setting activeOnly=true restricts the result to tasks in a non-terminal REST state (Pending or Running). Results are ordered by creation time descending, then Task UUID descending, before pagination. The X-Pagination response header reports the total count over the post-filter set.
By default the report field is omitted from each Task in the response. Set includeReport=true to include it; this is opt-in because report bodies can be several KB.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/task
- AuthHTTP bearer
Query parameters
ID of the Site whose Tasks are returned.
Restrict results to non-terminal Tasks.
Include the per-task execution report on each returned Task.
One-indexed page number.
Page number for pagination query.
Number of Tasks returned per page.
Response
OK
Example response
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "Running",
"description": "Update rack firmware",
"message": "Firmware update in progress",
"ruleId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"report": {
"version": 1,
"stages": [
{
"number": 1,
"status": "completed",
"startedAt": "2026-06-08T18:00:00Z",
"finishedAt": "2026-06-08T18:00:42Z",
"steps": [
{
"componentType": "Compute",
"status": "completed",
"totalComponents": 4,
"succeededComponents": 4,
"failedComponents": 0,
"startedAt": "2026-06-08T18:00:00Z",
"finishedAt": "2026-06-08T18:00:42Z"
}
]
},
{
"number": 2,
"status": "running",
"startedAt": "2026-06-08T18:00:42Z",
"steps": [
{
"componentType": "NVLSwitch",
"status": "running",
"totalComponents": 2,
"succeededComponents": 0,
"failedComponents": 0,
"startedAt": "2026-06-08T18:00:42Z"
},
{
"componentType": "PowerShelf",
"status": "skipped",
"totalComponents": 0,
"succeededComponents": 0,
"failedComponents": 0
}
]
}
]
}
}
]Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- warning
removed the optional property
///////from the response with the status - info
the response property
///////became required for the status - info
the response property
///////became required for the status - info
added the required property
///////to the response with the status
- warning