مواد پر جائیں
The Consortium

Risks Index APIOperational

grx_jurisdiction_participate

What can be contributed for a country, and its known data gaps

Request

آزمائیں

Available · MCP tool grx.jurisdiction_participate · No credits

https://api.risksindex.com

GET/v1/jurisdictions/{jurisdiction}/participate

curl -s "https://api.risksindex.com/v1/jurisdictions/KEN/participate"
const res = await fetch("https://api.risksindex.com/v1/jurisdictions/KEN/participate");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/jurisdictions/KEN/participate")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": {
    "id": "index:jurisdiction/KEN#participate",
    "type": "participation",
    "place": {
      "id": "index:jurisdiction/KEN",
      "iso3": "KEN",
      "name": "Kenya",
      "level": 0,
      "adm": null,
      "profile": "/v1/jurisdictions/KEN/profile"
    },
    "kinds": [
      {
        "kind": "value-correction",
        "title": "Report a problem with an Index value",
        "audience": [],
        "feature": "index.main.form.value-correction",
        "form": "GRX-MAIN:value-correction",
        "state": "E",
        "accepting": true,
        "record": {},
        "licence": {},
        "consent": {},
        "review": {},
        "submission": {}
      }
    ],
    "gaps": {
      "from": {
        "profile": "/v1/jurisdictions/KEN/profile",
        "edition": "idx-949f583329bfb9c1c6c2",
        "sha256": "3422e13362d0d2549f155863e3c205d4f9769d8fa5fb4cdfed0100ecc04e…"
      },
      "coverage": {
        "expected": 65,
        "held": 61,
        "share": 0.938,
        "sources": []
      },
      "sections": [
        {}
      ],
      "withheld": [],
      "note": "Read from the coverage and gaps of the place's own profile, …"
    },
    "contributions": {
      "href": "/v1/jurisdictions/KEN/contributions",
      "published": 0,
      "inside": 0
    },
    "rules": [
      "A contribution is shown beside the Index. It never changes a…"
    ]
  },
  "meta": {
    "authority": "The Global Risks Index (NXS-GRX), GCRI Canada",
    "state": "E",
    "coverage": {
      "status": "partial",
      "records": 4
    },
    "edition": "idx-949f583329bfb9c1c6c2",
    "intake": {
      "source": "snapshot",
      "state": "D",
      "fetchedAt": null,
      "fallback": null,
      "declaredFeatures": "contracts/intake/index/main.json"
    },
    "provenance": [
      {
        "repository": "nexus-wp",
        "commit": "n/a: generated into services/index-api/data/intake/participa…",
        "path": "contracts/intake/index/main.json",
        "sha256": "2d73542a7cb7b42a308d42340cca8550d62b964bdce33438f84539bb2fe0…",
        "licence": "n/a: a contract of the estate",
        "snapshotAt": "2026-11-22T01:34:55.802Z"
      }
    ],
    "links": {
      "contributions": "/v1/jurisdictions/KEN/contributions",
      "profile": "/v1/jurisdictions/KEN/profile",
      "units": "/v1/jurisdictions/KEN/adm"
    },
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

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

What a person, an institution or a government can contribute for this country: each kind of contribution with its intake feature and state, the record schema, the required fields, the licence, the review steps and the submission address with the place filled in; and the data gaps of the country, read from the coverage and gaps of its own profile. A kind whose feature is designed (D) is listed with what blocks it and takes no submission. Submissions go to the intake service through the site, never to this API. Availability: Available.

Parameters

Parameters

  • jurisdictionrequired

    path · string

    The country: ISO 3166-1 alpha-3 code, for example KEN. A place identifier of the Index is also accepted, with its slashes percent-encoded (index:country%2FKEN); a sub-national unit is answered with its country, marked inherited in meta.place.

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 304

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

  • 400Problem, RFC 9457

    Bad jurisdiction code. Codes: BAD_JURISDICTION, PLACE_ID_INVALID, PLACE_ID_TOO_MANY

  • 401

  • 404Problem, RFC 9457

    Not found. Codes: NOT_FOUND, PLACE_NOT_FOUND, UNIT_NOT_FOUND

  • 410Problem, RFC 9457

    Place withdrawn. Codes: PLACE_WITHDRAWN

  • 414

  • 429Problem, RFC 9457

    Rate limited. Codes: RATE_LIMITED

  • 500Problem, RFC 9457

    Internal error. Codes: INTERNAL

  • 503Problem, RFC 9457

    Profiles unavailable. Codes: PROFILES_UNAVAILABLE

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.