Get list of task runs
Get a list of runs of a specific task. The response is a list of objects, where each object contains essential information about a single task run.
The endpoint supports pagination using the limit and offset parameters, and it does not return more than a 1000 array elements.
By default, the records are sorted by the startedAt field in ascending order; therefore you can use pagination to incrementally fetch all records while new ones are still being created. To sort the records in descending order, use the desc=1 parameter. You can also filter runs by status (available statuses).
Path parameters
Task ID or a tilde-separated owner's username and task's name.
Query parameters
Number of items that should be skipped at the start. The default value is 0.
Maximum number of items to return. The default value as well as the maximum is 1000.
If true or 1 then the objects are sorted by the startedAt field in descending order. By default, they are sorted in ascending order.
Single status or comma-separated list of statuses, see (available statuses). Used to filter runs by the specified statuses only.
[ "SUCCEEDED" ]
Response
Example response
{
"data": {
"total": 1,
"limit": 1000,
"count": 1,
"items": [
{
"id": "HG7ML7M8z78YcAPEB",
"actId": "HDSasDasz78YcAPEB",
"userId": "7sT5jcggjjA9fNcxF",
"actorTaskId": "KJHSKHausidyaJKHs",
"startedAt": "2019-11-30T07:34:24.202Z",
"finishedAt": "2019-12-12T09:30:12.202Z",
"buildId": "HG7ML7M8z78YcAPEB",
"buildNumber": "0.0.2",
"buildNumberInt": 10000,
"usageTotalUsd": 0.2,
"defaultKeyValueStoreId": "sfAjeR4QmeJCQzTfe",
"defaultDatasetId": "3ZojQDdFTsyE7Moy4",
"defaultRequestQueueId": "so93g2shcDzK3pA85"
}
]
}
}