Queries the statuses of multiple pipeline jobs or nodes at a time.
Debugging
Authorization information
Request syntax
PUT /api/v1/pipelineruns HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| body | object | No | The request parameters. | |
| PipelineRuns | array | No | The pipeline jobs that you want to query. You must configure PipelineRuns or Nodes. We recommend that you configure Nodes. | |
| string | No | The ID of the pipeline job. You can call ListPipelineRuns to obtain the ID of the pipeline job. | flow-hynm2bv8wqhp5esfxq | |
| Nodes | array<object> | No | The nodes that you want to query. You must configure PipelineRuns or Nodes. We recommend that you configure Nodes. | |
| object | No | The node that you want to query. | ||
| PipelineRunId | string | No | The ID of the pipeline job. You can call ListPipelineRuns to obtain the ID of the pipeline job. | flow-hynm2bv8wqhp5esfxq |
| NodeId | string | No | The ID of the pipeline node. You can call ListPipelineRuns to obtain the node ID. | node-hynm2bv8wqhp5esfx1 |
| WorkspaceId | string | No | The workspace ID. You can call ListWorkspaces to obtain the workspace ID. | 948** |
| OutputType | string | No | The output type of the pipeline node. Valid values:
| DataSet |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "473469C7-****-****-****-A3DC0DE3C83E",
"PipelineRuns": [
{
"PipelineRunId": "flow-hynm2bv8wqhp5esfxq",
"Status": "Running",
"Name": "myName",
"UserId": 1557702098194904,
"ParentUserId": 1557702098194904,
"NodeId": "node-98odqfpcjzwdf3caq3",
"SourceId": "lmi7d24h3kr0xczjlu",
"IsDeleted": false
}
],
"Nodes": [
{
"PipelineRunId": "flow-hynm2bv8wqhp5esfxq",
"NodeId": "node-hynm2bv8wqhp5esfx1",
"Status": "Running",
"InputArtifactArchived": true,
"OutputArtifactArchived": true,
"StartedAt": "2021-01-21T17:12:35.232Z",
"FinishedAt": "2021-01-21T17:12:35.232Z",
"NodeName": "dataSource"
}
],
"Outputs": [
{
"Name": "model_******",
"Type": "DataSet",
"Metadata": {
"test": "test",
"test2": 1
},
"GmtCreateTime": "2021-01-30T12:51:33.028Z",
"Id": "artifact-ty1xwv*******s8zf",
"Producer": "id-3d25-************-77856",
"NodeId": "node-obpzu*******418grb7\n",
"PipelineRunId": "flow-dsjfk******jdskls",
"Value": "{\\\"name\\\": \\\"model_flow_*********_node_**********_model\\\", \\\"location\\\": {\\\"name\\\": \\\"model_flow_**********_node_***********_model\\\", \\\"endpoint\\\": \\\"http://service.odps.aliyun.com/api\\\", \\\"project\\\": \\\"********\\\"}}",
"ExpandedArtifactIndex": 0,
"ExpandableArtifactName": "inputArtifact"
}
]
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-07-24 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
| 2022-12-15 | The response structure of the API has changed | View Change Details |
| 2022-06-14 | Add Operation | View Change Details |
