உள்ளடக்கத்திற்குச் செல்லவும்
The Consortium

Risks Index APIOperational

grx_changes

Change feed: CloudEvents 1.0 batches

Request

முயன்று பாருங்கள்

Available · MCP tool grx.changes · No credits

https://api.risksindex.com

GET/v1/changes

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

req = urllib.request.Request("https://api.risksindex.com/v1/changes?type=index.series.created&limit=3")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

[
  {
    "specversion": "1.0",
    "id": "origin:index:series/GLB:created",
    "source": "urn:therisk:index-api",
    "type": "index.series.created",
    "subject": "index:series/GLB",
    "time": "2026-11-22T01:34:55.802Z",
    "datacontenttype": "application/json",
    "data": {
      "id": "index:series/GLB",
      "version": null,
      "sha256": "27496812dc95aed9ca523b7baf4f6ec2ab085aa373d3c440658d9839298a76fd",
      "origin": true,
      "provenance": {
        "repository": "nexus-estate/global-risk-index",
        "commit": "3d00e27bc2c4c2ca65b00b45c65a5be6bb086725",
        "path": "registry/series.json",
        "sha256": "7ac72c6e957b2d413cc0e3a18ad97fad689e521757dc8aaa41b30f059e50fec6",
        "licence": "PENDING (global-risk-index the network's own records D-9: no licence is granted until recorded)",
        "snapshotAt": "2026-11-22T01:34:55.802Z",
        "carriedVia": {
          "repository": "nexus-estate/nexus-wp",
          "commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
          "path": "services/risk-graph/data/snapshot/index.json",
          "sha256": "88ecf242ccc2dd37657f829a055f389e87dc3af9a042492936a66e0acea8cbeb"
        }
      }
    }
  },
  {
    "specversion": "1.0",
    "id": "origin:index:series/GS-01:created",
    "source": "urn:therisk:index-api",
    "type": "index.series.created",
    "subject": "index:series/GS-01",
    "time": "2026-11-22T01:34:55.802Z",
    "datacontenttype": "application/json",
    "data": {
      "id": "index:series/GS-01",
      "version": null,
      "sha256": "2d35bb39423177b0fabf407f2104b79ab2214e0009f0b846b3d12d0ccb6c7c52",
      "origin": true,
      "provenance": {
        "repository": "nexus-estate/global-risk-index",
        "commit": "3d00e27bc2c4c2ca65b00b45c65a5be6bb086725",
        "path": "registry/series.json",
        "sha256": "7ac72c6e957b2d413cc0e3a18ad97fad689e521757dc8aaa41b30f059e50fec6",
        "licence": "PENDING (global-risk-index the network's own records D-9: no licence is granted until recorded)",
        "snapshotAt": "2026-11-22T01:34:55.802Z",
        "carriedVia": {
          "repository": "nexus-estate/nexus-wp",
          "commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
          "path": "services/risk-graph/data/snapshot/index.json",
          "sha256": "88ecf242ccc2dd37657f829a055f389e87dc3af9a042492936a66e0acea8cbeb"
        }
      }
    }
  }
]

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

Events index..created|updated|corrected|withdrawn, derived deterministically from the diff of record digests between the previous released snapshot and this one, each with its provenance block. Over HTTP the media type is application/cloudevents-batch+json (a bare batch; paging by Link rel next and prev, total in X-Total-Count). format=envelope answers the same events inside the service envelope. Filters: since, type, subject. The first snapshot has no baseline, so every record is created. Availability: Available.

Parameters

Parameters

  • qoptional

    query · string

    Search terms over the event type and subject

  • sinceoptional

    query · string

    ISO date YYYY-MM-DD: events on or after it

  • typeoptional

    query · string

    Comma-separated event types, for example index.hazard.updated

  • subjectoptional

    query · string

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

  • formatoptional

    query · string · cloudevents | envelope

    cloudevents (default) or envelope

  • 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_FILTER, BAD_PAGE, BAD_SINCE

  • 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.