sdkHosted AI, explicit consent
Revise icp rubric
pipeline.reviseIcpRubric
Revise a brief ICP rubric from QA corrections on a canary sample. Pass the sample returned by get-icp-tuning-sample, operator corrections, and the current rubric. Returns { revisedRubric, rationale } without saving.
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.
samplerequired
unknown[]
Sample rows from get-icp-tuning-sample.
correctionsrequired
unknown[]
Operator judgments: rowId plus verdict fit, unfit, or skip.
currentRubricrequired
object
The rubric to revise. Usually the rubric returned by get-icp-tuning-sample.
allowHostedAi
boolean
Must be true when this operation uses Pipeline hosted inference.
Example
TypeScripttypescript
await pipeline.reviseIcpRubric({"briefId": "00000000-0000-4000-8000-000000000000","sample": [{"rowId": "row_01"}],"corrections": [{"rowId": "row_01","verdict": "fit"}],"currentRubric": {"naturalLanguageCriteria": "Founder-led B2B software companies"},"allowHostedAi": true})
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.