A distributed node's tasks, one page at a time

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}/tasks
Path parameters
idstringrequired
subjobIdstringrequired
Query parameters
vaultIdstringrequired
sessionIdobject
statusstring
limitinteger

Request

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[]required

idstringrequired
namestringrequired
statusenumrequired

One of: PENDING, RUNNING, SUCCEEDED, COMPLETED, FAILED, STOPPED, ERROR, SKIPPED, CANCELLED

finishedboolean
messagestring
output_countnumber
output_sizenumber
task_groupboolean
task_indexnumber
module_hierarchystring
countinteger
nextstring
previousstring
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.