All Products
Search
Document Center

Platform For AI:GetPipelineRun

Last Updated:Jun 11, 2026

Mengkueri informasi tentang pekerjaan pipeline.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

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: Tidak mengembalikan informasi detail.

  • true: Mengembalikan informasi detail yang berisi manifes.

false

ManifestType

string

No

Tipe manifes yang akan dikembalikan. Nilai valid:

  • Raw (default): manifes asli yang dikirimkan oleh pengguna.

  • Frozen: menghasilkan UUID untuk setiap pipeline dan membekukan versi pipeline. Bahkan jika Anda melakukan Peningkatan pipeline ketika tiga tuple yang didefinisikan pada node tetap tidak berubah, UUID asli tetap digunakan. Anda dapat menjalankan ulang pipeline berdasarkan manifes ini.

  • Rendered: menyuntikkan informasi terkait ke dalam pipeline dan merendernya, termasuk melengkapi informasi lingkungan runtime dan mengoptimalkan konfigurasi pipeline.

  • Expanded: memberikan definisi lengkap untuk setiap pipeline.

  • Runtime: pipeline yang akan dijalankan.

Valid values:

  • Runtime :

    Runtime

  • Raw :

    Raw.

  • Frozen :

    Frozen.

  • Rendered :

    Rendered.

  • Expanded :

    Expanded.

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:

  • Initialized

  • Running

  • Succeeded

  • Failed

  • Suspended

  • Terminated

  • Unknown

  • Skipped

  • Terminating

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: If you leave this parameter empty, UNKNOWN is used as the default value.

  • SDK: The pipeline job is created by using an SDK.

  • DESIGNER: The pipeline job is created in Machine Learning Designer.

  • M6: The pipeline job is created on other websites.

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

  • PRIVATE

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.