跳至内容
The Consortium

Risks Index APIOperational

sol11_example

SOL-11 worked example

Request

试一试

Available · MCP tool sol11.example · No credits · Free

https://api.risksindex.com

GET/v1/solutions/SOL-11/example

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

req = urllib.request.Request("https://api.risksindex.com/v1/solutions/SOL-11/example")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": {
    "segment": "S1",
    "segments": [
      "S1"
    ],
    "title": "A county government builds a flood and d…",
    "labels": {
      "records": "real: the six NIS-1 indicator ids, their…",
      "clientData": "SYNTHETIC: every unit and value is inven…",
      "designNotes": "County C has one value missing (null): i…"
    },
    "request": {
      "method": "POST",
      "path": "/v1/solutions/SOL-11/build",
      "body": {}
    },
    "result": {
      "values": [],
      "classes": {},
      "weights": {},
      "analysis": {},
      "sensitivity": {},
      "replicationDigest": {},
      "warnings": [],
      "deliverablesIncluded": []
    },
    "journey": [
      "scope: pick indicators and the shared di…"
    ]
  },
  "meta": {
    "authority": "The Global Risks Index (NXS-GRX), GCRI C…",
    "state": "E",
    "provenance": [
      {}
    ],
    "review": {
      "state": "unreviewed",
      "route": "Method: Nexus Standards technical commit…",
      "note": "No independent review of this method is …"
    },
    "decision": {
      "recorded": false,
      "note": "The client records their own decision an…"
    },
    "synthetic": true,
    "coverage": {
      "status": "full",
      "records": 8
    },
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

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

Real NIS-1 indicator records and labelled synthetic county data, built end to end with the deliverables' key results. Availability: Available.

Parameters

Parameters

  • segmentoptional

    query · string

    Worked example segment: S1, S6, S9 or S5

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 304

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

  • 400Problem, RFC 9457

    Bad segment. Codes: BAD_SEGMENT

  • 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 a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.