Mengkueri informasi tentang pekerjaan pipeline.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiflow:GetPipelineRun |
get |
*All Resource
|
None | None |
Sintaks permintaan
GET /api/v1/pipelineruns/{PipelineRunId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PipelineRunId |
string |
Yes |
ID pekerjaan pipeline. Anda dapat memanggil ListPipelineRuns untuk mendapatkan ID pekerjaan pipeline. |
run-rbvg**********ks92 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Verbose |
boolean |
No |
Apakah akan mengembalikan informasi detail. Nilai valid:
|
false |
| ManifestType |
string |
No |
Tipe manifes yang akan dikembalikan. Nilai valid:
Valid values:
|
Raw |
| TokenId |
string |
No |
ID pekerjaan pipeline yang dibagikan. |
https://pai.console.alibabacloud.com/?regionId=cn-hangzhou&workspaceId=102******&mode=noSidebar#/paiflow/pipeline-runs/flow-6y7******?Token=eyJ0e****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
DA869D1B-035A-43B2-ACC1-C56681BD9FAA |
| PipelineRunId |
string |
The ID of the pipeline job. |
flow-j94y**********lf7a |
| Name |
string |
The name of the pipeline job. |
testName |
| Status |
string |
The status of the pipeline job. Valid values:
|
Succeeded |
| Manifest |
string |
The definition of the pipeline job. |
{"ApiVersion":"core/v1","Metadata":{"NodeId":"node-n06d**********fc53","Provider":"155**********904","Name":"flow-j94y**********lf7a","Version":"v1","Identifier":"9fe11111-****-****-****-****ec811861","Namespace":null,"DisplayName":"name","NodeType":"Dag"},"Spec":{}} |
| Arguments |
string |
The parameters for the pipeline job. |
{"arguments":{"parameters":[{"name":"execution","value":{"endpoint":"http://service.******","odpsProject":"******","spec":{"endpoint":"http://service.******","odpsProject":"*****"},"resourceType":"MaxCompute"}}]}} |
| UserId |
string |
The ID of the RAM user that is used to create the pipeline. |
155**********904 |
| ParentUserId |
string |
The ID of the Alibaba Cloud account that is used to create the pipeline. |
155**********904 |
| StartedAt |
string |
The time when the pipeline job started, in UTC. The time follows the ISO 8601 standard. |
2021-01-30T12:51:33.028Z |
| FinishedAt |
string |
The time when the pipeline job ended, in UTC. The time follows the ISO 8601 standard. |
2021-01-30T12:52:33.028Z |
| NodeId |
string |
The pipeline ID. |
node-n06d**********fc53 |
| Duration |
integer |
The running duration of the pipeline job. Unit: seconds. |
60 |
| WorkspaceId |
string |
The ID of the workspace to which the pipeline job belongs. |
15945 |
| Message |
string |
The failure message of the pipeline job. |
error message |
| SourceType |
string |
The type of the pipeline job source. Valid values:
|
UNKNOWN |
| SourceId |
string |
The ID of the pipeline job source. |
abcd*********hxfu |
| Options |
string |
The option for the pipeline job, which is in the JSON format. |
{"mlflow":{"experimentId":"exp-**********"}} |
| GmtCreateTime |
string |
The time when the pipeline job was created, in UTC. The time follows the ISO 8601 standard. |
2021-01-30T12:51:33.028Z |
| GmtModifiedTime |
string |
The time when the pipeline job was modified, in UTC. The time follows the ISO 8601 standard. |
2021-01-30T12:51:33.028Z |
| PipelineId |
string |
The pipeline ID. |
pipeline-j94y**********lf7a |
| Accessibility |
string |
The accessibility of the pipeline job. Valid values:
|
PUBLIC |
| PipelineRunUri |
string |
The URL of the pipeline job. |
https://pai.console.alibabacloud.com/?regionId=cn-shanghai&workspaceId=24****#/studio/task/detail/flow-dsfbjt4k07lvp1**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "DA869D1B-035A-43B2-ACC1-C56681BD9FAA\n",
"PipelineRunId": "flow-j94y**********lf7a\n",
"Name": "testName",
"Status": "Succeeded",
"Manifest": "{\"ApiVersion\":\"core/v1\",\"Metadata\":{\"NodeId\":\"node-n06d**********fc53\",\"Provider\":\"155**********904\",\"Name\":\"flow-j94y**********lf7a\",\"Version\":\"v1\",\"Identifier\":\"9fe11111-****-****-****-****ec811861\",\"Namespace\":null,\"DisplayName\":\"name\",\"NodeType\":\"Dag\"},\"Spec\":{}}",
"Arguments": "{\"arguments\":{\"parameters\":[{\"name\":\"execution\",\"value\":{\"endpoint\":\"http://service.******\",\"odpsProject\":\"******\",\"spec\":{\"endpoint\":\"http://service.******\",\"odpsProject\":\"*****\"},\"resourceType\":\"MaxCompute\"}}]}}",
"UserId": "155**********904\n",
"ParentUserId": "155**********904\n",
"StartedAt": "2021-01-30T12:51:33.028Z\n",
"FinishedAt": "2021-01-30T12:52:33.028Z\n",
"NodeId": "node-n06d**********fc53\n",
"Duration": 60,
"WorkspaceId": "15945",
"Message": "error message\n",
"SourceType": "UNKNOWN",
"SourceId": "abcd*********hxfu\n",
"Options": "{\"mlflow\":{\"experimentId\":\"exp-**********\"}}\n",
"GmtCreateTime": "2021-01-30T12:51:33.028Z\n",
"GmtModifiedTime": "2021-01-30T12:51:33.028Z\n",
"PipelineId": "pipeline-j94y**********lf7a\n",
"Accessibility": "PUBLIC",
"PipelineRunUri": "https://pai.console.alibabacloud.com/?regionId=cn-shanghai&workspaceId=24****#/studio/task/detail/flow-dsfbjt4k07lvp1****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.