Skip to main content
JobsView all stages executed within a specific task
TestMu AI
StatusCommunityBlog
Jobs

View all stages executed within a specific task

This API allows you to track all the stages that were part of a particular [Task](https://www.lambdatest.com/support/docs/hyperexecute-status/#2-task-level-status). By sending a GET request with the taskID, you get a complete breakdown of each stage executed.

GET
/v2.0/stage/{taskID}
View all stages executed within a specific task
curl --request GET \
--url "https://api.hyperexecute.cloud/v2.0/stage/{taskID}" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"pre": [
{
"id": "af2ab1dc-55de-4057-9789-d414c2c23fcb",
"task": "085d201b-0fc8-4985-a822-0ef3c46839f3",
"type": "cache-download",
"status": "completed",
"remark": "completed",
"name": "cache-download",
"iteration": 0,
"order": 1,
"link": "cache-download.log",
"createdAt": "2023-01-23T07:50:33Z",
"startedAt": "2023-01-23T07:50:35Z",
"updatedAt": "2023-01-23T07:50:39Z",
"count": 0,
"testType": null
}
],
"scenario": [
{
"id": "d7b0255e-f469-4e6f-8252-0ac0d95ef958",
"task": "085d201b-0fc8-4985-a822-0ef3c46839f3",
"type": "scenario",
"status": "completed",
"remark": "completed",
"name": "\"Test_1\"",
"iteration": 0,
"order": 4,
"link": "command.1.0.log",
"createdAt": "2023-01-23T07:51:04Z",
"startedAt": "2023-01-23T07:51:06Z",
"updatedAt": "2023-01-23T07:52:30Z",
"count": 0,
"testType": null
}
],
"post": [
{
"id": "2a9d14a4-fab8-49cb-88cd-0c0a6d22c13c",
"task": "085d201b-0fc8-4985-a822-0ef3c46839f3",
"type": "postrun",
"status": "completed",
"remark": "completed",
"name": "post",
"iteration": 0,
"order": 5,
"link": "post.log",
"createdAt": "2023-01-23T07:51:04Z",
"startedAt": "2023-01-23T07:52:32Z",
"updatedAt": "2023-01-23T07:52:34Z",
"count": 0,
"testType": null
}
]
},
"status": "success"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

taskIDstringrequired

Enter your Task ID of the Job

Query Parameters

search_textstring

Implement filtereation based on scenario name

scenario_onlyboolean

If set to false, it will render the data of pre, post and scenario level. Else it will show only scenario level data.

Response

application/json

When "scenario_only" is set to "false"

dataobject
data.preobject[]
data.scenarioobject[]
data.postobject[]
statusstring
View all stages executed within a specific task
curl --request GET \
--url "https://api.hyperexecute.cloud/v2.0/stage/{taskID}" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"pre": [
{
"id": "af2ab1dc-55de-4057-9789-d414c2c23fcb",
"task": "085d201b-0fc8-4985-a822-0ef3c46839f3",
"type": "cache-download",
"status": "completed",
"remark": "completed",
"name": "cache-download",
"iteration": 0,
"order": 1,
"link": "cache-download.log",
"createdAt": "2023-01-23T07:50:33Z",
"startedAt": "2023-01-23T07:50:35Z",
"updatedAt": "2023-01-23T07:50:39Z",
"count": 0,
"testType": null
}
],
"scenario": [
{
"id": "d7b0255e-f469-4e6f-8252-0ac0d95ef958",
"task": "085d201b-0fc8-4985-a822-0ef3c46839f3",
"type": "scenario",
"status": "completed",
"remark": "completed",
"name": "\"Test_1\"",
"iteration": 0,
"order": 4,
"link": "command.1.0.log",
"createdAt": "2023-01-23T07:51:04Z",
"startedAt": "2023-01-23T07:51:06Z",
"updatedAt": "2023-01-23T07:52:30Z",
"count": 0,
"testType": null
}
],
"post": [
{
"id": "2a9d14a4-fab8-49cb-88cd-0c0a6d22c13c",
"task": "085d201b-0fc8-4985-a822-0ef3c46839f3",
"type": "postrun",
"status": "completed",
"remark": "completed",
"name": "post",
"iteration": 0,
"order": 5,
"link": "post.log",
"createdAt": "2023-01-23T07:51:04Z",
"startedAt": "2023-01-23T07:52:32Z",
"updatedAt": "2023-01-23T07:52:34Z",
"count": 0,
"testType": null
}
]
},
"status": "success"
}