Request
Попробовать
Planned: it answers with a typed refusal · MCP tool grx.bespoke_build · No credits
POST/v1/grx/org/bespoke
curl -s -X POST "https://api.risksindex.com/v1/grx/org/bespoke" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: <a-unique-key-per-attempt>" \
-d '{}'const res = await fetch("https://api.risksindex.com/v1/grx/org/bespoke", { 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.risksindex.com/v1/grx/org/bespoke", 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": "…",
"meta": {
"authority": "string",
"state": "string",
"provenance": "…",
"coverage": {
"status": "full",
"records": 0,
"dimensions": {}
},
"review": {}
}
} Designed and billable (bespoke and portfolio indices are not priced, so NOT_ON_SALE). Needs a Passport bearer token. Answers 402 with the billing pointer. A bespoke index is never a rating. Availability: Planned (answers a typed problem response until built).
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, coverage and links
- 400Problem, RFC 9457
Bad request body. Codes: BAD_BUILD, BAD_JSON
- 401Problem, RFC 9457
Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID
- 402Problem, RFC 9457
Payment required. Codes: PAYMENT_REQUIRED
- 409
- 413Problem, RFC 9457
Body too large. Codes: TOO_LARGE
- 414
- 422
- 429Problem, RFC 9457
Rate limited. Codes: RATE_LIMITED
- 500Problem, RFC 9457
Internal error. Codes: INTERNAL
- 501Problem, RFC 9457
Planned. Codes: NOT_BUILT, WRITES_OFF
Начать
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.