Artifact render capability
The verified (slug, subject_kind) pairs render-svc can serve, each slug's applicable render params, and the pairs that were measured and refused. Derived from the audited capability table on every request, so a pair that was never verified cannot be advertised. Answers "what renders for this subject?" before a client mounts anything — previously the only way to learn the answer was to request something that failed, because the reconciled table appeared solely inside error payloads. Authentication: None. Discovery only: it names renderers and subject kinds and returns no subject content, no holdings and no numbers. Billing: Free.
Request
- Base URL: https://riskmodels.app/api
- URL: https://riskmodels.app/api/artifacts/capability
- Auth: none required
Query parameters
Narrow pairs to one subject kind. unavailable is never narrowed: a caller needs to tell "measured and refused" from "never asked".
Narrow pairs to one artifact slug.
Response
Capability document. A narrowing query that matches nothing returns 200 with an empty pairs list, not 404.
Example response
{
"derived_from": "lib/artifacts/render-client.ts::ARTIFACT_RENDER_CAPABILITY",
"discovery": {
"capability": "GET /api/artifacts/capability?subject_kind=&slug=",
"as_of": "GET /api/artifacts/as-of?slug=&subject_id=&version="
}
}Changes
No recorded changes to this operation across all 1 revision of this API.