sdkDeterministic

List pipeline stages

pipeline.listPipelineStages

List active or hidden pipeline stages for this workspace.

Parameters

workspaceId
string
No description.
includeHidden
boolean
No description.

Example

TypeScripttypescript
await pipeline.listPipelineStages({})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"stages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"stageName": {
"type": "string"
},
"stageOrder": {
"type": "number"
},
"color": {
"type": "string"
},
"isActive": {
"type": "boolean"
},
"isDefault": {
"type": "boolean"
}
},
"required": [
"id",
"workspaceId",
"stageName",
"stageOrder",
"color",
"isActive",
"isDefault"
]
}
}
},
"required": [
"stages"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline