Skip to content

List



GET /api/v1/pipeline/list

Overview

Lists Pipeline summaries, sources, and start/stop configurations in the current workspace.

Prerequisites and Usage Steps

No pagination is used. All non-deleted items are returned, with default rules first, sorted by record ID in descending order, including disabled items. The current public Query does not declare isSysTemplate, so directly switching the system template list is not supported; content/testData or configVersion are not returned. Read the details again before editing.

Request Headers

Parameter Type Required Description
DF-API-KEY string Y OpenAPI authentication credential for the workspace.
Example: <DF-API-KEY>
How to obtain or enter: Obtain an OpenAPI Key with this operation permission from API Key Management in the target workspace.

Query Request Parameters

Parameter Type Required Description
search string Optional. After trimming leading and trailing whitespace, performs a literal contains match on the name. % and _ are treated as literals, and search is not performed by source.
Null allowed: False
Example: production
How to obtain or enter: Pipeline file name keyword.
type string Optional run mode filter. If not provided, both types are queried.
Null allowed: False
Allowed values: ['local', 'central']
Example: local
How to obtain or enter: local or central.
categories commaArray Optional. If not provided, all categories in the current workspace are queried; this is not a JSON array.
Null allowed: False
Example: logging,metric
How to obtain or enter: Select from supported categories, separated by commas.

Request Example

curl --get 'https://openapi.guance.com/api/v1/pipeline/list' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  --data-urlencode categories=logging \
  --data-urlencode type=local

Response

HTTP 200, application/json. The example below shows the main fields that can be read directly.

Field Type Description
content.data array<object> Array of rule summaries; empty result is [].
content.data[].uuid string UUID of the pl_ object.
content.data[].status integer 0 enabled, 2 disabled, 3 deleted.
content.data[].creator string Creator identity.
content.data[].updator string Last updater identity.
content.data[].createAt integer Creation time in Unix seconds.
content.data[].updateAt integer Update time in Unix seconds.
content.data[].name string Save configuration: required. Maximum 256 count units (ASCII/half-width katakana count as 1, other characters as 2). Allows alphanumeric characters, underscores, Chinese characters U+4e00..9fa5, and hyphens; non-empty is recommended. Duplicates are not allowed within the same category, even if local/central differ or the old item is disabled. This is not an input log source.
content.data[].type string Save configuration: required, local/central. For Synthetic Testing dialtesting, create/update can only use central. The workspace plan may restrict central. Updating replaces the original run type.
content.data[].category string Save configuration: required; one of lineage/logging/object/custom_object/network/tracing/rum/llm/agent_monitor/security/keyevent/metric/profiling/dialtesting/cloud_billing. billing is a legacy compatibility value. Updates can change the category; the script, source, and extend must be checked together.
content.data[].source array Save configuration: optional, default []. Omitting it on update removes all source relationships. Sources containing * or ? do not participate in the exact uniqueness conflict check, and runtime behavior for all matches is not guaranteed; a regular exact source cannot be occupied by another non-deleted Pipeline within the same category/type. For rum/llm create/update, this array is ignored and extend.appID and measurement are used instead.
content.data[].source[] string Save configuration: non-empty strings are recommended. The array is not strictly validated item by item; do not mix unrelated data domains.
content.data[].dataType string Save configuration: optional, default line_protocol; supports line_protocol/json/message. Omitting it on update restores line_protocol; this is not category. Although an empty string is declared compatible, a supported value should be explicitly selected.
content.data[].asDefault integer Save configuration: optional, default 0; only 0/1 is recommended. If a default already exists and isForce is not set, HTTP 200 returns a confirm array; the target configuration is not saved this time and is not considered a successful create/update.
content.data[].enableByLogBackup integer Save configuration: optional, default 0; 0/1 is recommended. Saving the flag does not guarantee that existing forwarded data will be re-run automatically.
content.data[].extend json Save configuration: optional, default {}. Updates replace the entire object rather than merging. rum/llm uses the appID × measurement combination to generate source relationships; unknown subfields are rejected by public validation.
content.data[].extend.appID array Save configuration: for rum/llm, a non-empty array should be provided together with measurement. If both are empty, there can be no dedicated source; if appID is present without measurement, a missing parameter error is reported.
content.data[].extend.measurement array Save configuration: for rum/llm, forms a Cartesian combination with appID. If measurement is present but appID is not, a missing parameter error is reported; saving does not verify that each application/measurement actually has data.
content.data[].extend.loggingIndex string Save configuration: optional log index echo field. No value is added by default; omitting it on update clears it with extend; this is not the source array.
content.data[].extend.ifAiCreate boolean Save configuration: optional echo; does not trigger an AI task.
content.data[].extend.aiTargetStructure string Save configuration: optional string, saved for echo only; this API does not generate scripts.
content.data[].extend.exampleSource string Save configuration: optional echo; does not replace source association.
content.data[].extend.exampleType string Save configuration: optional echo string; the server does not provide a fixed enumeration.
content.data[].extend.appID[] string Save configuration: non-empty strings are recommended.
content.data[].extend.measurement[] string Save configuration: non-empty strings are recommended.
content.data[].creatorInfo object Identity summary; resolves to {} when it cannot be parsed.
content.data[].creatorInfo.uuid string Identity UUID; can be omitted.
content.data[].creatorInfo.status integer Account status; can be omitted.
content.data[].creatorInfo.wsAccountStatus integer Membership status; can be omitted.
content.data[].creatorInfo.name string Display name.
content.data[].creatorInfo.username string Login name.
content.data[].creatorInfo.email string Email or system identity identifier.
content.data[].creatorInfo.mobile string Mobile number; can be empty.
content.data[].creatorInfo.countryCode string Country/region code; can be omitted.
content.data[].creatorInfo.iconUrl string Avatar.
content.data[].creatorInfo.acntWsNickname string Workspace nickname; can be omitted.
content.data[].updatorInfo object Identity summary; resolves to {} when it cannot be parsed.
content.data[].updatorInfo.uuid string Identity UUID; can be omitted.
content.data[].updatorInfo.status integer Account status; can be omitted.
content.data[].updatorInfo.wsAccountStatus integer Membership status; can be omitted.
content.data[].updatorInfo.name string Display name.
content.data[].updatorInfo.username string Login name.
content.data[].updatorInfo.email string Email or system identity identifier.
content.data[].updatorInfo.mobile string Mobile number; can be empty.
content.data[].updatorInfo.countryCode string Country/region code; can be omitted.
content.data[].updatorInfo.iconUrl string Avatar.
content.data[].updatorInfo.acntWsNickname string Workspace nickname; can be omitted.
content.declaration object Public declaration.
{
  "code": 200,
  "content": {
    "data": [
      {
        "uuid": "pl_example",
        "name": "production_parser",
        "type": "local",
        "category": "logging",
        "dataType": "json",
        "asDefault": 0,
        "enableByLogBackup": 0,
        "extend": {
          "loggingIndex": "default"
        },
        "status": 0,
        "creator": "wsak_example",
        "updator": "wsak_example",
        "createAt": 1785427200,
        "updateAt": 1785427200,
        "source": [
          "nginx"
        ],
        "creatorInfo": {},
        "updatorInfo": {}
      }
    ],
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Response

For authentication, rate limiting, and common request errors, see Common Error Definitions.

HTTP Status errorCode Trigger Condition Message or Response Description Resolution
406 ft.ParameterValidationFailed An undeclared Query parameter is used or a parameter violates the rules Parameter parsing failed Check the Query parameter table and example.
500 ft.InternalServerError Configuration read, identity profile, or response encoding failed Internal error Check the UUID and saved data, then retry later. If the failure persists, provide the traceId.

Feedback

Is this page helpful?