உள்ளடக்கத்திற்குச் செல்லவும்
The Consortium

Risks Index APIOperational

grx_watch

Watch an entity or a series for a release or a threshold

Request

முயன்று பாருங்கள்

Planned: it answers with a typed refusal · MCP tool grx.watch · No credits

https://api.risksindex.com

POST/v1/grx/org/watch

curl -s -X POST "https://api.risksindex.com/v1/grx/org/watch" \
  -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/watch", { 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/watch", 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. Needs a Passport bearer token. Answers WRITES_OFF while PASSPORT_ISSUER is unset, then NOT_BUILT. Availability: Planned (answers a typed problem response until built).

Parameters

Parameters

  • Idempotency-Keyoptional

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