sdkDeterministic

Compare campaigns

pipeline.compareCampaigns

Compare execution stats (total/completed/failed/completionRate) across 2-10 campaigns side-by-side.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
campaignIdsrequired
string[]
2-10 campaign IDs to compare.

Example

TypeScripttypescript
await pipeline.compareCampaigns({
"campaignIds": [
"00000000-0000-4000-8000-000000000001",
"00000000-0000-4000-8000-000000000002"
]
})

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.
Pipeline TypeScript SDK documentation | Pipeline