sdkDeterministic

Run brief scorecard

pipeline.runBriefScorecard

Compute and return the list-quality scorecard for a brief: overall score, A-F grade, top issues. Side effect: persists a snapshot to brief.plan.latestScorecard on every call. When the grade drops to D or F, also enqueues a list_quality_review HITL item for the operator.

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
No description.

Example

TypeScripttypescript
await pipeline.runBriefScorecard({
"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