A distributed node's tasks, one page at a time
Lists the tasks of a task group with what each worked on (input_label), per-status-group counts, search, the Slowest and Largest sorts and failed tasks first once the run is over. Hive does not send a task's input, so the label is derived here: a per-line task's line from its split parameter, a batch task's range from the batch-ranges output.
GET
/api/runs/{id}/subjobs/{subjobId}/tasksPath parameters
idstringrequiredsubjobIdstringrequiredQuery parameters
vaultIdstringrequiredsessionIdobjectstatusstringlimitintegerRequest
curl
curl -X GET https://trickest.io/api/runs/{id}/subjobs/{subjobId}/tasks \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
200One page of tasks, with counts per status group
resultsobject[]requiredidstringrequirednamestringrequiredstatusenumrequiredOne of: PENDING, RUNNING, SUCCEEDED, COMPLETED, FAILED, STOPPED, ERROR, SKIPPED, CANCELLED
finishedbooleanmessagestringoutput_countnumberoutput_sizenumbertask_groupbooleantask_indexnumbermodule_hierarchystringcountintegernextstringpreviousstring400Bad Request – validation error or malformed input
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
401Unauthorized – missing or expired token
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
403Forbidden – insufficient permissions
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
429Too Many Requests – rate limited
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
500Internal Server Error
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.