डेवलपर
gcri_search
NXS Risk Intelligence API
GET /v1/search EServed
Search the GCRI-authority records
Deterministic keyword search (no model call) over the stored GCRI records, ranked 3 points for a term in the title, 2 in the id, kind or operator, 1 elsewhere, with each hit explained and naming its authority and how to resolve it. State: exists.
MCP tool: gcri.search
प्राचल
| नाम | In | प्रकार | यह क्या करता है |
|---|---|---|---|
q वैकल्पिक | query | string | Search terms (every term must match) Example: flood |
industry वैकल्पिक | query | string | ISIC Rev.5 section (validated; records are not tagged by industry, so it is not applied) |
jurisdiction वैकल्पिक | query | string | alpha-3, M49 or regime (validated; records are not tagged by place) |
hazard वैकल्पिक | query | string | NHS-1 id, family or domain: keeps records bearing on it Example: water.flood |
net वैकल्पिक | query | string | Network id; only gcri holds records here |
type वैकल्पिक | query | string | A resolvable GCRI record type |
cursor वैकल्पिक | query | string | Opaque cursor from meta.page.next (or the Link header); bound to the snapshot digest |
limit वैकल्पिक | query | integer | Records per page, 1 to 200 (default 50) |
offset वैकल्पिक | query | integer | Records to skip (default 0) |
प्रतिक्रियाएँ
- 200 Records with provenance
- 304 Not modified: the If-None-Match validator matched the current ETag (a problem, RFC 9457)
- 400 Bad request (BAD_PAGE, BAD_KIND, BAD_ID, BAD_STATE, BAD_JSON, BAD_BODY) (a problem, RFC 9457)
- 404 NOT_FOUND, or NOT_YET_PUBLISHED for a designed route (a problem, RFC 9457)
- 429 RATE_LIMITED: open-tier rate limit (a problem, RFC 9457)
- 500 INTERNAL: unhandled error (a problem, RFC 9457)