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

Risks Index APIOperational

sol11_validate

SOL-11: check an indicator table before building

Request

वापरून पाहा

Available · MCP tool sol11.validate · 10 credits per job · Pro

Pro: an API key whose account holds an active plan of pro, max, max-20x, team, enterprise, as the Business Hub states it. Without it this operation answers 402 with the code PRO_REQUIRED.

https://api.risksindex.com

POST/v1/solutions/SOL-11/validate

curl -s -X POST "https://api.risksindex.com/v1/solutions/SOL-11/validate" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <a-unique-key-per-attempt>" \
  -d '{}'
const res = await fetch("https://api.risksindex.com/v1/solutions/SOL-11/validate", { method: "POST", headers: { "Content-Type": "application/json", "Idempotency-Key": "<a-unique-key-per-attempt>" }, body: "{}" });
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/solutions/SOL-11/validate", data="{}".encode(), method="POST", headers={"Content-Type": "application/json", "Idempotency-Key": "<a-unique-key-per-attempt>"})
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": "…",
  "meta": {
    "authority": "string",
    "state": "string",
    "provenance": "…",
    "coverage": {
      "status": "full",
      "records": 0,
      "dimensions": {}
    },
    "review": {}
  }
}

A dry run: coverage, outliers, constant indicators, correlation matrix, Cronbach alpha per pillar, PCA weights when asked. Nothing stored. Availability: Available.

Parameters

Parameters

  • Idempotency-Keyoptional

    header · string

    Optional. A value of your own (a UUID is fine) that makes this write safe to retry: the same caller, key and request within 24 hours gets the first answer again, with the header Idempotent-Replayed: true, and the work is not done twice. It applies to a request that carries a credential.

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 400Problem, RFC 9457

    Bad request body. Codes: BAD_BUILD, BAD_JSON

  • 401

  • 402

  • 404Problem, RFC 9457

    Not found. Codes: NOT_FOUND

  • 409

  • 413Problem, RFC 9457

    Body too large. Codes: TOO_LARGE

  • 414

  • 422

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