Intelligence APIOperational
nxs_standards_declaration_draft
Draft a self-declaration from your own results
अनुरोध
आज़माएँ
Available · MCP tool nxs.standards.declaration_draft · No credits
POST/v1/conformity/declaration-draft
curl -s -X POST "https://api.nexustandards.com/v1/conformity/declaration-draft" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: <a-unique-key-per-attempt>" \
-d '{"scope":"x","standards":["NS-12"],"results":[]}'const res = await fetch("https://api.nexustandards.com/v1/conformity/declaration-draft", { method: "POST", headers: { "Content-Type": "application/json", "Idempotency-Key": "<a-unique-key-per-attempt>" }, body: "{\"scope\":\"x\",\"standards\":[\"NS-12\"],\"results\":[]}" });
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.nexustandards.com/v1/conformity/declaration-draft", data="{\"scope\":\"x\",\"standards\":[\"NS-12\"],\"results\":[]}".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": {
"kind": "self-declaration draft",
"declarant": null,
"scope": "x",
"assessedOn": null,
"snapshotAt": "2026-11-22T22:46:01+00:00",
"standards": [
{}
],
"deviations": [],
"totals": {
"requirementsInRegister": 9,
"assessed": 0,
"coverage": 0,
"byResult": {}
},
"unknownRequirements": [],
"duplicateEntries": []
},
"meta": {
"coverage": {
"status": "full",
"records": 1,
"links": {}
},
"authority": "Nexus Standards (Secretariat, GCRI Canad…",
"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": "A draft you hold. It is not stored, regi…",
"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"
},
"replication": {
"digest": "73a6cdb404583d0e6a5003b593225f2104a7968b…",
"inputsDigest": "bc2f0866feb5663094e7ef2ab1dc3d26b4c77127…",
"methodVersion": "1.0.0",
"snapshotDigest": "153e8c78269d753e5e4276840d2f5039daf6aea1…",
"sourceCommits": []
}
}
} An answer this API gave, shortened. Values change with the data.
Turns your self-assessed results into a draft self-declaration: scope you state, standards with register version and status, results, deviations and a plain-text rendering with the limits stated. A draft you hold: nothing is stored, registered or published, and it is never certification. The public self-declaration register is designed and not built. Availability: Available.
Parameters
Parameters
Idempotency-Keyवैकल्पिक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 a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.