વિનંતી
અજમાવો
Available · MCP tool nxs.standards.profile_build · No credits
POST/v1/profiles/build
curl -s -X POST "https://api.nexustandards.com/v1/profiles/build" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: <a-unique-key-per-attempt>" \
-d '{"sector":"WUT","standards":["NS-12","NS-0"],"verbalForms":["shall"]}'const res = await fetch("https://api.nexustandards.com/v1/profiles/build", { method: "POST", headers: { "Content-Type": "application/json", "Idempotency-Key": "<a-unique-key-per-attempt>" }, body: "{\"sector\":\"WUT\",\"standards\":[\"NS-12\",\"NS-0\"],\"verbalForms\":[\"shall\"]}" });
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.nexustandards.com/v1/profiles/build", data="{\"sector\":\"WUT\",\"standards\":[\"NS-12\",\"NS-0\"],\"verbalForms\":[\"shall\"]}".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": {
"profile": {
"id": "nxs-profile-d0d955d109fdc461",
"name": "Tailored selection nxs-profile-d0d955d10…",
"kind": "tailored selection of Nexus Standards co…",
"filters": {},
"selection": [],
"totals": {},
"controlIds": [],
"selectionCoverage": {},
"jurisdictionNote": null,
"statement": "A profile is a tailored selection of reg…"
},
"oscalProfile": {
"profile": {}
}
},
"meta": {
"coverage": {
"status": "full",
"dimensions": {},
"records": 2,
"links": {},
"note": "These are candidate standards the regist…"
},
"validation": {
"schema": "oscal_profile_schema.json",
"release": "1.1.3",
"valid": true,
"errors": [],
"validator": "JSON Schema draft-07 subset validator of…"
},
"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": {}
},
"sources": [
{}
],
"stored": false,
"note": "A tailored selection of register control…",
"snapshot": {
"digest": "153e8c78269d753e5e4276840d2f5039daf6aea1…",
"snapshotAt": "2026-11-22T22:46:01+00:00"
},
"service": "nxs-standards-api",
"version": "0.9.0"
}
} An answer this API gave, shortened. Values change with the data.
Select standards by sector or industry, hazard, hazard domain or NIS-1 domain, and by explicit list, filter their controls by verbal form, and get the selection, the control ids and an OSCAL profile. The profile id is a hash of the selection (same selection, same id); nothing is stored. A selection, not a Nexus compatibility profile. Availability: Available.
Parameters
Parameters
Idempotency-Keyoptionalheader · 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.