Help Center/ ServiceStage/ API Reference/ Historical APIs/ Managing Pipelines/ Querying Pipeline Deployment Records
Updated on 2026-04-10 GMT+08:00

Querying Pipeline Deployment Records

Function

This API is used to query pipeline deployment records.

URI

GET /cpepipeline/v2/pipelines/{pipeline_id}/records

Table 1 Path parameter

Parameter

Mandatory

Type

Description

pipeline_id

Yes

String

Pipeline ID. See Querying the Pipeline List.

Request

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Message body type (format). Default value: application/json;charset=utf8.

X-Auth-Token

Yes

String

API calling can be authenticated using a token or AK/SK. If you use a token, this parameter is mandatory and must be set to the token. For details about how to obtain the token, see Obtaining a User Token Through Password Authentication.

Response

Table 3 Response parameter

Parameter

Type

Description

[Array elements]

Array of objects

Execution record. For details, see Table 4.

Table 4 records

Parameter

Type

Description

id

Integer

Execution history ID.

version

Integer

Execution version.

trigger

String

Executor.

triggerType

Integer

Execution type.

triggerAt

Integer

Execution time.

status

Integer

Execution status.

Example Request

None

Example Response

[
    {
        "id": 288506,
        "version": 1,
        "trigger": "test",
        "triggerType": 0,
        "triggerAt": 1753080264252,
        "status": 2
    }
]

Status Codes

Status Code

Description

200

OK

400

Bad Request

404

Not Found

500

Internal Server Error

Error Codes

See ServiceStage Error Codes.