Queries the running status of a pipeline node.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiflow:ListPipelineRunNodeStatus |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}/status HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PipelineRunId |
string |
Yes |
The ID of the pipeline job. You can call ListPipelineRuns to obtain the ID of the pipeline job. |
flow-rbvg5wzljzjhc9**** |
| NodeId |
string |
Yes |
The ID of the pipeline node. You can call ListPipelineRuns to obtain the node ID. |
node-kdkfkfds**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Depth |
integer |
No |
The depth at which information about the node is queried. If you set Depth to N, the information about the node and all its child nodes at the N-1 layer is returned. |
2 |
| Type |
string |
No |
The node type. Valid values:
|
Logical |
| TokenId |
string |
No |
The ID of the shared pipeline job. |
https://pai.console.alibabacloud.com/?regionId=cn-hangzhou&workspaceId=102******&mode=noSidebar#/paiflow/pipeline-runs/flow-6y7******?Token=eyJ0e****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
473469C7-****-****-****-A3DC0DE3C83E |
| Status |
array<object> |
The statuses of the pipeline node. |
|
|
object |
|||
| NodeId |
string |
The ID of the pipeline node. |
node-1jlzg7ncv0j6i3**** |
| NodeName |
string |
The name of the pipeline node. |
sql |
| Status |
string |
The running status of the node. |
Succeeded |
| StartedAt |
string |
The time when the node started to run, in UTC. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. |
2021-01-21T17:12:35.232Z |
| FinishedAt |
string |
The time when the node finished running, in UTC. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. |
2021-01-21T17:12:40.232Z |
| RuntimeInfo |
string |
The runtime information of the node, in the escaped MAP format. You can customize the output of multiple KV pairs. If the same key value is used, the last output value is used. If the returned information is empty, {} is returned. |
{\"DLC_INSTANCE_IDS\": \"i-12224afdfsaf,i-22224afdfsaf,i-13224afdfsaf\"} |
Examples
Success response
JSON format
{
"RequestId": "473469C7-****-****-****-A3DC0DE3C83E\n",
"Status": [
{
"NodeId": "node-1jlzg7ncv0j6i3****",
"NodeName": "sql",
"Status": "Succeeded",
"StartedAt": "2021-01-21T17:12:35.232Z",
"FinishedAt": "2021-01-21T17:12:40.232Z",
"RuntimeInfo": "{\\\"DLC_INSTANCE_IDS\\\": \\\"i-12224afdfsaf,i-22224afdfsaf,i-13224afdfsaf\\\"}\n"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.