GetPipeline

Updated at:

Queries pipelines.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cms:GetPipeline

none

*Pipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/{#PipelineName}

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.