Skip to content

List Task Execution Records

Request

List individual RPA executions, page by page.

  • Effect: none. Read-only. Safe to retry with bounded backoff.
  • Status values: taskState is 0 waiting, 1 running, 2 queued, 3 succeeded, 4 failed, 5 cancelled. Waiting and queued are distinguished by whether the execution is still on its original trigger time.
  • Search caveat: template-title search resolves titles in the current request language first, so a title that does not match that language returns an empty page rather than all executions.
Security
Authorization
Bodyapplication/jsonrequired
taskIdstring or null

Task id

taskNamestring or null, [ 1 .. 255 ] characters

Task name

taskStateinteger or null, [ 0 .. 9 ]

Plan status; 0:awaiting execution; 1:Executing; 2:Execution completed 3:Cancel

templateIdstring or null, [ 0 .. 99999999999 ]

Template id

templateTitlestring or null, [ 0 .. 255 ] characters

Template title

cloudPhoneIdstring or null

cloud phone id

Example:"1559133625483282"
cloudPhoneNamestring or null, [ 0 .. 100 ] characters

Cloud phone name

beginTimestring or null

Task start time UTC+0 time zone

Example:"2025-01-01 23:59:59"
endTimestring or null

Task end time UTC+0 time zone

Example:"2025-01-02 23:59:59"
pageNointeger or null

Default:1

Example:1
pageSizeinteger or null

Default:10

curl -i -X POST \
  https://api.morelogin.com/cloudphone/rpa/subTask/page \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "pageNo": 1,
    "pageSize": 10
  }'

Responses

Success. data.dataList holds the records for the requested page and is an empty array when there are no matches; data.total, data.current and data.pages describe the paging.

Headers
any
Bodyapplication/json
codeintegerrequired

Response code, 0 indicates success,>0 indicates failure

msgstring or nullrequired

Error msg

requestIdstringrequired

Request trace id

dataobjectrequired
Response
{ "code": 0, "msg": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d", "data": { "dataList": [], "current": "1", "pages": "1", "total": "1" } }