sdkDeterministic
List workflows
pipeline.listWorkflows
List all custom GTM workflows in the workspace. Each row carries id, name, description, status, schedule, current workflow_definition, and last-run summary. The workspace is inferred from the API key - pass workspace_id only when calling with a multi-workspace key. Read-only.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
workspace_id
string
Workspace UUID. Optional with API key auth - inferred from the key.
Example
TypeScripttypescript
await pipeline.listWorkflows({})
Response
The operation is available, but its typed response schema has not been published yet.
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.