GetPipeline
Queries pipelines.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:GetPipeline |
none |
*Pipeline
|
None | None |
Request syntax
GET /workspace/{workspace}/pipeline/{pipelineName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
No |
The workspace ID. |
workspace-test |
| pipelineName |
string |
No |
The pipeline name. |
pipeline-name-1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The request ID. |
3430AE20-AFFF-597C-B553-2DF04B2933AA |
| pipelineName |
string |
The pipeline name. |
pipeline-name-1 |
| description |
string |
The description. |
workspace test |
| createTime |
string |
The creation time. |
2025-03-11T08:21:58Z |
| updateTime |
string |
The update time. |
2026-02-06T14:09:11Z |
| workspace |
string |
The workspace ID. |
workspace-test |
| regionId |
string |
The region ID. |
cn-hangzhou |
| source |
object |
The data source. |
|
| type |
string |
The data source type. |
logstore |
| logstore |
object |
The Simple Log Service Logstore information. |
|
| project |
string |
The Simple Log Service project name. |
test-project |
| logstore |
string |
The Simple Log Service Logstore name. |
test-logstore |
| query |
string |
The filter statement for the Simple Log Service Logstore. |
status:500 and method:GET |
| pipeline |
object |
The pipeline information. |
|
| nodes |
array<object> |
The nodes. |
|
|
array<object> |
The nodes. |
||
| id |
string |
The node ID. |
node_1 |
| type |
string |
The node type. |
dedup-fuzzy |
| parameters |
object |
The parameters. |
{"output":"ID,key_0,key_2,key_3,key_4","workspace":"workspace-test-dataset","field":"key_0","global":true,"dataset":"dataset_1"} |
|
any |
The parameters. |
{ "output": "ID,key_0,key_2,key_3,key_4", "workspace": "workspace-test-dataset", "field": "key_0", "global": true, "dataset": "dataset_1" } |
|
| sink |
object |
The output destination. |
|
| type |
string |
The output destination type. |
dataset |
| dataset |
object |
The dataset information. |
|
| workspace |
string |
The workspace ID. |
workspace-test |
| dataset |
string |
The dataset. |
dataset_1 |
| executePolicy |
object |
The execution policy. |
|
| mode |
string |
The execution mode. |
runOnce |
| runOnce |
object |
The configuration for one-time execution. |
|
| fromTime |
integer |
The start timestamp. |
1772519013 |
| toTime |
integer |
The end timestamp. |
1772519013 |
| scheduled |
object |
The configuration for scheduled execution. |
|
| interval |
string |
The time interval. |
86400 |
| fromTime |
integer |
The start timestamp. |
1772519013 |
Examples
Success response
JSON format
{
"requestId": "3430AE20-AFFF-597C-B553-2DF04B2933AA",
"pipelineName": "pipeline-name-1",
"description": "workspace test",
"createTime": "2025-03-11T08:21:58Z",
"updateTime": "2026-02-06T14:09:11Z",
"workspace": "workspace-test",
"regionId": "cn-hangzhou",
"source": {
"type": "logstore",
"logstore": {
"project": "test-project",
"logstore": "test-logstore",
"query": "status:500 and method:GET"
}
},
"pipeline": {
"nodes": [
{
"id": "node_1",
"type": "dedup-fuzzy",
"parameters": {
"key": "{\n\t\t\t\t\"output\": \"ID,key_0,key_2,key_3,key_4\",\n\t\t\t\t\"workspace\": \"workspace-test-dataset\",\n\t\t\t\t\"field\": \"key_0\",\n\t\t\t\t\"global\": true,\n\t\t\t\t\"dataset\": \"dataset_1\"\n\t\t\t}"
}
}
]
},
"sink": {
"type": "dataset",
"dataset": {
"workspace": "workspace-test",
"dataset": "dataset_1"
}
},
"executePolicy": {
"mode": "runOnce",
"runOnce": {
"fromTime": 1772519013,
"toTime": 1772519013
},
"scheduled": {
"interval": "86400",
"fromTime": 1772519013
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.