İçeriğe geç
The Consortium

Intelligence APIOperational

communities.profilesBuildPost

Build a tailored profile within the product

Talep

Deneyin

Available · MCP tool nxs.communities.profiles_build · No credits

https://api.nexustandards.com

POST/v1/communities/profiles/build

curl -s -X POST "https://api.nexustandards.com/v1/communities/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/communities/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/communities/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-902723cb4506a8e8",
      "name": "Tailored selection nxs-profile-902723cb4…",
      "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": "none",
      "dimensions": {},
      "records": 0,
      "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,
    "subsite": "communities",
    "productSlug": "communities",
    "note": "A tailored selection of register control…",
    "snapshot": {
      "digest": "153e8c78269d753e5e4276840d2f5039daf6aea1…",
      "snapshotAt": "2026-11-22T22:46:01+00:00"
    }
  }
}

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

As /v1/profiles/build with the selection restricted to the product scope; an explicit standard outside the scope answers 400 OUT_OF_SCOPE. A selection, not a Nexus compatibility profile. Availability: Available.

Parameters

Parameters

  • Idempotency-Keyisteğe bağlı

    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

Başlayın

Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.