Discovery

Artifact pre-rendered vintages

The pre-rendered as_of dates for one (slug, subject_id), with the formats stored under each date and their object URIs. Read-only: no render is triggered by asking. Pre-rendered subject kinds (filers, cohorts) have no live loader, so a caller must know which dates exist. For cohort subjects as_of=latest on the render call resolves to the newest date listed here; for filers pass one of these dates explicitly. Both spellings of a filer id are searched and merged. Authentication: API key or session. Unmetered. Billing: Free.

get/artifacts/as-of

Request

  • Base URL: https://riskmodels.app/api
  • URL: https://riskmodels.app/api/artifacts/as-of
  • Auth: HTTP bearer

Query parameters

slugstring required

Artifact slug.

subject_idstring required

Subject id with a known prefix (BW-COHORT-, BW-FILER-, BW-FUND-, BW-STOCK-, BW-PORTFOLIO-, BW-ETF-).

versionstring

Artifact version tag.

Response

At least one vintage is pre-rendered.

slugstring required
versionstring required
subject_idstring required

The id as requested.

subject_kindstring required
canonical_subject_idstring

The canonical spelling (differs from subject_id only for filers).

subject_id_spellings_searchedstring[]
as_of_latest'loader' | 'newest_prerendered' | 'unsupported' required

What as_of=latest does on the render call for this subject kind: newest_prerendered (cohorts — the newest date below), unsupported (filers — pass a date from as_of), or loader (live data; this listing is informational).

lateststring date required

Newest pre-rendered date.

as_ofstring[] required

Date-only view of vintages, oldest first.

countinteger required

Example response

{
  "slug": "risk_dna_stacked",
  "version": "v1",
  "subject_id": "BW-COHORT-RES-MAG7",
  "subject_kind": "cohort",
  "latest": "2026-04-21",
  "vintages": [
    {
      "formats": [
        "json",
        "png"
      ]
    }
  ]
}

Changes

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