મુખ્ય સામગ્રી પર જાઓ
The Consortium

Intelligence APIOperational

nxs_conformance_selftest

Conformance self-test (a self-assessment)

વિનંતી

અજમાવો

Available · MCP tool nxs.conformance_selftest · No credits

https://api.nexustandards.com

POST/v1/conformance/selftest

curl -s -X POST "https://api.nexustandards.com/v1/conformance/selftest" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <a-unique-key-per-attempt>" \
  -d '{"standard":"NS-0","results":[{"requirement":"NS0-R1","result":"pass"},{"requirement":"NS0-R2","result":"fail"}]}'
const res = await fetch("https://api.nexustandards.com/v1/conformance/selftest", { method: "POST", headers: { "Content-Type": "application/json", "Idempotency-Key": "<a-unique-key-per-attempt>" }, body: "{\"standard\":\"NS-0\",\"results\":[{\"requirement\":\"NS0-R1\",\"result\":\"pass\"},{\"requirement\":\"NS0-R2\",\"result\":\"fail\"}]}" });
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.nexustandards.com/v1/conformance/selftest", data="{\"standard\":\"NS-0\",\"results\":[{\"requirement\":\"NS0-R1\",\"result\":\"pass\"},{\"requirement\":\"NS0-R2\",\"result\":\"fail\"}]}".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": {
    "assessmentKind": "self-assessment",
    "standard": {
      "id": "NS-0",
      "title": "Constitution and principles",
      "status": "PROPOSED"
    },
    "requirementsInRegister": 3,
    "withdrawnExcluded": 0,
    "assessed": 2,
    "byResult": {
      "pass": 1,
      "fail": 1,
      "not-applicable": 0,
      "not-assessed": 1
    },
    "coverage": 0.6667,
    "notAssessed": [
      "NS0-R3"
    ],
    "failed": [
      {}
    ],
    "unknownRequirements": []
  },
  "meta": {
    "coverage": {
      "status": "register",
      "links": {},
      "note": "An unfiltered register read: no industry…"
    },
    "authority": "Nexus Standards (Secretariat, GCRI Canad…",
    "state": "PROPOSED",
    "provenance": {
      "repository": "nexus-estate/nexus-wp",
      "commit": "89ebc662668b521c30c7556124c094ef33f065ca",
      "path": "the network's own records…",
      "sha256": "f9b9b39996d01be1e4eed9a7bbe76986c82a5e14…",
      "licence": "CC-BY-4.0",
      "snapshotAt": "2026-11-22T22:46:01+00:00",
      "origin": {}
    },
    "stored": false,
    "note": "Nothing was stored. Coverage is the shar…",
    "snapshot": {
      "digest": "153e8c78269d753e5e4276840d2f5039daf6aea1…",
      "snapshotAt": "2026-11-22T22:46:01+00:00"
    },
    "service": "nxs-standards-api",
    "version": "0.9.0",
    "method": {
      "id": "self-assessment-coverage",
      "version": "1.0.0",
      "href": "/v1/methods/self-assessment-coverage"
    }
  }
}

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

Send your own results per requirement of one standard; get back coverage against the register and the requirements you have not assessed. Stateless: nothing is stored. The output is a self-assessment, never a conformance claim, certificate or compliance statement. 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 and coverage

  • 400Problem, RFC 9457

    Bad request (stable code in the problem)

  • 401

  • 409

  • 413Problem, RFC 9457

    Body too large

  • 414

  • 422

  • 429Problem, RFC 9457

    Open-tier rate limit

  • 500Problem, RFC 9457

    Internal error

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.