跳至内容
The Consortium

Intelligence APIOperational

foundations.profilesBuildPost

Build a tailored profile within the product

申请

试一试

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

https://api.nexustandards.com

POST/v1/foundations/profiles/build

curl -s -X POST "https://api.nexustandards.com/v1/foundations/profiles/build" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <a-unique-key-per-attempt>" \
  -d '{}'
const res = await fetch("https://api.nexustandards.com/v1/foundations/profiles/build", { 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.nexustandards.com/v1/foundations/profiles/build", 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": {
    "profile": {
      "id": "string",
      "kind": "string",
      "totals": {
        "standards": "…",
        "controls": "…"
      },
      "statement": "string",
      "name": "string"
    },
    "oscalProfile": {}
  },
  "meta": {
    "authority": "string",
    "coverage": {
      "status": "full",
      "dimensions": {},
      "records": 0,
      "links": {},
      "note": "string"
    },
    "state": "string",
    "provenance": {
      "repository": "string",
      "commit": "string",
      "path": "string",
      "sha256": "string",
      "licence": "string"
    },
    "method": {
      "id": "string",
      "version": "string",
      "href": "string"
    }
  }
}

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