sdkDeterministic

Top performers

pipeline.topPerformers

Rank workspace campaigns by a metric (replies, completions, or connections). Returns the top N campaigns ordered by the chosen metric.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
metricrequired
string
No description.
replies | completions | connections
limit
number
Top N to return (1-50, default 5).

Example

TypeScripttypescript
await pipeline.topPerformers({
"metric": "replies"
})

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