Developers
GET_v1_n_subsite_search
NXS Risk Intelligence API
GET /v1/n/{subsite}/search EServed
Search the records of one subsite
Deterministic keyword search (no model call) over the stored GCRI records that bear on this subsite's NHS-1 families or name it, each hit explained. Scoped to the subsite manifest: its NHS-1 families, NIS-1 domains, sections and engines. State: exists.
Parameters
| Name | In | Type | What it does |
|---|---|---|---|
subsite required | path | string (water-nexus, food-nexus, energy-nexus, health-nexus, biodiversity-nexus, risk-management, climate-hazards, disaster-resilience, critical-infrastructure, cities-built-environment, trade-strategic-resources, oceans-coasts, ai-autonomous-systems, cyber-digital-resilience, data-compute, quantum, space-earth-observation, biotechnology-biosecurity, advanced-industry-robotics, economic-development, human-development, future-work-skills, digital-public-infrastructure, systems-modelling) | A GCRI niche-engine subsite (a manifest in contracts/platforms/gcri) Example: water-nexus |
q optional | query | string | Search terms (every term must match) Example: flood |
industry optional | query | string | ISIC Rev.5 section (validated; records are not tagged by industry) |
jurisdiction optional | query | string | alpha-3, M49 or regime (validated; records are not tagged by place) |
hazard optional | query | string | NHS-1 id, family or domain |
net optional | query | string | Network id; only gcri holds records here |
type optional | query | string | A resolvable GCRI record type |
cursor optional | query | string | Opaque cursor from meta.page.next (or the Link header); bound to the snapshot digest |
limit optional | query | integer | Records per page, 1 to 200 (default 50) |
offset optional | query | integer | Records to skip (default 0) |
Responses
- 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)