मजकुराकडे जा
The Consortium

Risks Index APIOperational

grx_theme_changes

The change feed scoped to the theme

Request

वापरून पाहा

Available · MCP tool grx.theme_changes · No credits · Free

https://api.risksindex.com

GET/v1/themes/{slug}/changes

curl -s "https://api.risksindex.com/v1/themes/wefh-b/changes?limit=3"
const res = await fetch("https://api.risksindex.com/v1/themes/wefh-b/changes?limit=3");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/themes/wefh-b/changes?limit=3")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

[
  {
    "specversion": "1.0",
    "id": "origin:index:edition/GRIX-2026-BASELINE:created",
    "source": "urn:therisk:index-api",
    "type": "index.edition.created",
    "subject": "index:edition/GRIX-2026-BASELINE",
    "time": "2026-11-22T01:34:55.802Z",
    "datacontenttype": "application/json",
    "data": {
      "id": "index:edition/GRIX-2026-BASELINE",
      "version": null,
      "sha256": "edd92934826ce8e42a848629766d32efea8b702eb7c406aa4d70d0b284e0ec4b",
      "origin": true,
      "provenance": {
        "repository": "nexus-estate/nexus-wp",
        "commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
        "path": "the network's own records",
        "sha256": "187d54cab617e4825f4fc45d85879ebfe9b39e6ec939a2b037426ab3141708c1",
        "licence": "PENDING (Index registry licence not recorded: global-risk-index the network's own records D-9; no licence is granted until recorded)",
        "snapshotAt": "2026-11-22T01:34:55.802Z",
        "upstreamCommit": "96a5234c"
      }
    }
  },
  {
    "specversion": "1.0",
    "id": "origin:index:hazard-domain/atmo:created",
    "source": "urn:therisk:index-api",
    "type": "index.hazard-domain.created",
    "subject": "index:hazard-domain/atmo",
    "time": "2026-11-22T01:34:55.802Z",
    "datacontenttype": "application/json",
    "data": {
      "id": "index:hazard-domain/atmo",
      "version": "1.1.0",
      "sha256": "8941a4994a59527b9d16e293f335fb1c607466872d018e6a8ca08007c0b3eed9",
      "origin": true,
      "provenance": {
        "repository": "nexus-estate/nexus-standards-full",
        "commit": "2fcbde115623f8b75a12a91177893f80feb7ee1c",
        "path": "registry/native/nhs-1.json",
        "sha256": "cf483570ce455cb47a20260a23af594d334a8bed4107a677922093029f3c96c6",
        "licence": "CC-BY-4.0",
        "snapshotAt": "2026-11-22T01:34:55.802Z",
        "carriedVia": {
          "repository": "nexus-estate/nexus-wp",
          "commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
          "path": "services/risk-graph/data/snapshot/hazards.json",
          "sha256": "de76b0add311002f6c3f3ff64a59a55ecd85e0aaf3deb2befca60d99fa5c3128"
        }
      }
    }
  }
]

An answer this API gave, shortened. Values change with the data.

The route /v1/changes fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. CloudEvents of the records this scope serves (its own slice of the feed). Availability: Available.

Parameters

Parameters

  • slugrequired

    path · string

    Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b

  • qoptional

    query · string

    Search terms over the event type and subject

  • sinceoptional

    query · string

    ISO date

  • typeoptional

    query · string

    Event types

  • subjectoptional

    query · string

    A UNI, e.g. index:indicator/: the history of one record

  • limitoptional

    query · integer

    Records per page, 1 to 200 (default 50)

  • cursoroptional

    query · string

    Opaque cursor from meta.page.next or prev (snapshot-bound)

  • offsetoptional

    query · integer

    Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 304

    Not modified: If-None-Match matched the snapshot digest

  • 400Problem, RFC 9457

    Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME

  • 401

  • 404Problem, RFC 9457

    Not found. Codes: NOT_FOUND

  • 414

  • 429Problem, RFC 9457

    Rate limited. Codes: RATE_LIMITED

  • 500Problem, RFC 9457

    Internal error. Codes: INTERNAL

Get started

Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.