Score content against the published quality rubric
score_qualityScore content against a published rubric for clarity, completeness, consistency, and error freedom. Get an Ed25519-signed receipt with optional target score threshold for no pass no pay.
Instructions
Score content against the quality-gate service's PUBLISHED rubric and get an Ed25519-signed score receipt. The rubric scores four dimensions — clarity, completeness, internal consistency, and obvious-error freedom (0–25 each, summing to 0–100) — plus flags from a closed vocabulary. Read the exact rubric with get_quality_rubric.
WHAT THIS IS: a reproducible score AGAINST OUR PUBLISHED RUBRIC (vX). WHAT IT IS NOT: a measure of absolute truth, an external/third-party standard, or a fact-check — 'obvious-error freedom' catches errors evident from the text or common knowledge, not external verification.
Optional target_score (0–100) enables 'no pass, no pay': if the score is below your target, no receipt is issued and (when payments are on) no charge is made — the response returns the failing breakdown with receipt: null.
Note: /v1/score is the paid action (one Claude API scoring pass per call) and may require an x402 micropayment when the underlying service has payments enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The content to score. Non-empty. | |
| rubric_version | No | Optional rubric version to score against; must match the service's current version (e.g. "v1") if provided. | |
| target_score | No | Optional 0–100 threshold. Enables 'no pass, no pay': below this, no receipt is issued and no charge is made. |