sdkDeterministic

Get icp tuning sample

pipeline.getIcpTuningSample

Start the ICP Prompt Builder QA loop for a campaign brief. Returns a representative sample of agent-pipeline table rows plus the current icpRubric so an operator or coding agent can mark fit, unfit, or skip before scaling the list. 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.
briefIdrequired
string
Campaign brief id.
sampleSize
number
Rows to sample, 1-25. Default 10.

Example

TypeScripttypescript
await pipeline.getIcpTuningSample({
"briefId": "00000000-0000-4000-8000-000000000000"
})

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