ListPipelineGroupPipelines - List Pipelines in a Pipeline Group
Lists all pipelines in a specified pipeline group.
|
Applicable editions |
Central edition, Region edition |
Endpoint and authorization information
-
Obtain the endpoint: Replace {domain} in the API request syntax.
-
Obtain the organization ID: Required only for the Central edition. Go to the Organization Management Console, then go to the Basic Information page to obtain the organization ID.
|
Product |
Resource |
Required permission |
|
Pipeline |
Pipeline group |
Read-only |
Request syntax
Central edition
GET https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelineGroups/pipelines
Region edition
GET https://{domain}/oapi/v1/flow/pipelineGroups/pipelines
Request headers
|
Parameter |
Type |
Required |
Description |
Example value |
|
x-yunxiao-token |
string |
Yes |
Your personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example value |
|
organizationId |
string |
path |
|
The organization ID. |
5ebbc0228123212b59xxxxx |
|
groupId |
integer |
query |
Yes |
The pipeline group ID. Set this parameter to 0 to move a pipeline to the ungrouped state. |
111 |
|
createStartTime |
integer |
query |
No |
The start time of pipeline creation. |
1729178040000 |
|
createEndTime |
integer |
query |
No |
The end time of pipeline creation. |
1729178040000 |
|
executeStartTime |
integer |
query |
No |
The start time of pipeline execution. |
1729178040000 |
|
executeEndTime |
integer |
query |
No |
The end time of pipeline execution. |
1729178040000 |
|
pipelineName |
string |
query |
No |
The pipeline name. |
Pipeline A |
|
statusList |
string |
query |
No |
The pipeline status. Separate multiple statuses with commas. Valid values: SUCCESS, RUNNING, FAIL, CANCELED, and WAITING. |
RUNNING,SUCCESS |
|
perPage |
integer |
query |
No |
The number of entries per page. Default value: 10. Maximum value: 30. |
10 |
|
page |
integer |
query |
No |
The current page number. Default value: 1. |
1 |
Sample requests
Central edition
curl -X 'GET' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelineGroups/pipelines?groupId=111&createStartTime=1729178040000&createEndTime=1729178040000&executeStartTime=1729178040000&executeEndTime=1729178040000&pipelineName=PipelineA&statusList=RUNNING,SUCCESS&perPage=10&page=1' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'GET' \
'https://{domain}/oapi/v1/flow/pipelineGroups/pipelines?groupId=111&createStartTime=1729178040000&createEndTime=1729178040000&executeStartTime=1729178040000&executeEndTime=1729178040000&pipelineName=PipelineA&statusList=RUNNING,SUCCESS&perPage=10&page=1' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
|
Parameter |
Type |
Description |
Example value |
| - |
array |
||
| - |
object |
||
|
gmtCreate |
integer |
The time when the pipeline was created. |
1729178040000 |
|
pipelineId |
integer |
The pipeline ID. |
124 |
|
pipelineName |
string |
The pipeline name. |
Pipeline |
Sample response
[
{
"gmtCreate": 1729178040000,
"pipelineId": 124,
"pipelineName": "Pipeline"
}
]
Response headers
|
Parameter |
Description |
Example value |
|
x-next-page |
The next page number. |
3 |
|
x-page |
The current page number. |
2 |
|
x-per-page |
The number of entries per page. |
10 |
|
x-prev-page |
The previous page number. |
1 |
|
x-total |
The total number of entries. |
100 |
|
x-total-pages |
The total number of pages. |
10 |
Error codes
For more information, see the error code center.