Artifacts

Read the coverage report for a table read artifact.

Returns the latest coverage report for the screenplay backing this artifact, or a specific report via ?reportId=<id>. The report carries a status field (generating → complete / failed) so you can poll it to terminal. When status: complete, report carries the structured coverage payload; it is null while generating or on failure. overallScore is the GATED score: a first judgment within judging.nearGateBand of gateThreshold is followed by another, two that disagree on the bar by a third, and the score is the MEDIAN of the judgments — summary says so ("the median of 3 judgments"), judging records each one. A report the platform queues by itself (a table-read job's coverage gate and first-pass report, a season run) on a script whose text, rubric and Series Bible are identical to an earlier report's reuses that report's judgments (judging.reusedFrom) instead of paying for them again; a report you request (this POST) is always judged afresh. Read verdict for the recommendation in plain words. scriptVersionNumber is the SCRIPT version the report covers (version counts reports); coversLatestVersion: false means the script has moved on (versionSummary: "Covers v4 · the script is now v6") and the next step is coverage on the newest version. Returns { coverage: null } when no coverage has been requested yet. Scope: artifact:read.

get/artifacts/{artifactId}/coverage

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/artifacts/{artifactId}/coverage
  • Auth: HTTP bearer

Query parameters

reportIdstring

Read a specific coverage report by id. Omit for the latest.

Response

Coverage report envelope (coverage may be null).

Changes

No recorded changes to this operation across all 1 revision of this API.