Help Center/ CodeArts Pipeline/ API Reference/ API/ Pipeline Management/ Querying Total Number of Pipelines on the Dashboard
Updated on 2025-11-12 GMT+08:00

Querying Total Number of Pipelines on the Dashboard

Function

This API is used to query the number of pipelines in each project and the total number of pipelines of the tenant.

Calling Method

For details, see Calling APIs.

URI

GET /v5/{tenant_id}/api/dashboard/pipeline-count

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

tenant_id

Yes

String

Definition:

Tenant ID.

Constraints:

N/A

Value range:

The value contains 32 characters.

Default value:

N/A

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

order

No

String

Definition:

Sorting order.

Constraints:

N/A

Value range:

  • desc: descending order.

  • asc: ascending order.

Default value:

This parameter is left empty by default, indicating that items are in arbitrary order.

pageNo

No

String

Definition:

Page number.

Constraints:

N/A

Value range:

NOTE:
0

Default value:

pageSize

No

String

Definition:

Page size.

Constraints:

N/A

Value range:

NOTE:
0

Default value:

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

error

ErrorInfo object

Definition:

Error message.

Value range:

N/A

result

Object

Definition:

Error result.

Value range:

N/A

status

String

Definition:

Status value.

Value range:

N/A

Table 4 ErrorInfo

Parameter

Type

Description

code

String

Definition:

Error code.

Value range:

N/A

message

String

Definition:

Error message.

Value range:

N/A

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.