Get list of tasks
Gets the complete list of tasks that a user has created or used.
The response is a list of objects in which each object contains essential information about a single task.
The endpoint supports pagination using the limit and offset parameters, and it does not return more than a 1000 records.
By default, the records are sorted by the createdAt field in ascending order; therefore you can use pagination to incrementally fetch all tasks while new ones are still being created. To sort the records in descending order, use the desc=1 parameter.
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 createdAt field in descending order. By default, they are sorted in ascending order.
Response
Example response
{
"data": {
"total": 1,
"limit": 1000,
"count": 1,
"items": [
{
"id": "zdc3Pyhyz3m8vjDeM",
"userId": "wRsJZtadYvn4mBZmm",
"actId": "asADASadYvn4mBZmm",
"actName": "my-actor",
"name": "my-task",
"username": "janedoe",
"actUsername": "janedoe",
"createdAt": "2018-10-26T07:23:14.855Z",
"modifiedAt": "2018-10-26T13:30:49.578Z",
"stats": {
"totalRuns": 15
}
}
]
}
}