開発者
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 | 文字列 | Search terms (every term must match) Example: flood |
industry 任意 | query | 文字列 | ISIC Rev.5 section (validated; records are not tagged by industry, so it is not applied) |
jurisdiction 任意 | query | 文字列 | alpha-3, M49 or regime (validated; records are not tagged by place) |
hazard 任意 | query | 文字列 | NHS-1 id, family or domain: keeps records bearing on it Example: water.flood |
net 任意 | query | 文字列 | Network id; only gcri holds records here |
type 任意 | query | 文字列 | A resolvable GCRI record type |
cursor 任意 | query | 文字列 | 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)