انتقل إلى المحتوى
The Consortium

المطورون

GET_v1_n_subsite_niche_engines_engine_run

NXS Risk Intelligence API

Open. Reading is free and needs no key.

GET /v1/n/{subsite}/niche/engines/{engine}/run EServed

All operations

Run a niche engine (state E computes; state D answers a typed refusal)

A built engine (state E) computes on the caller's inputs and the pinned ingested data and answers with its method card, provenance and coverage: exploited-vulnerability-exposure (products, cves), dependency-cascade-model (edges, fail, buffers), compute-site-resource-risk (lat, lon, radius_km, fuel, nearest), and the caller-data engines of v0.6 (process-disruption-model, dpi-dependency-map, portfolio-aggregation, cascade-simulation, cyber-loss-quantification, value-chain-shock-propagation, vulnerability-curve-evaluator). A designed engine (state D) answers 501 NOT_BUILT naming the dataset it needs and the register rows for it. No value is invented. State: exists.

المعلمات

المعلمات
الاسمInالنوعما يفعله
subsite إلزاميpathstring (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: cyber-digital-resilience
engine إلزاميpathسلسلة نصيةEngine name, e.g. urban-exposure-grid Example: exploited-vulnerability-exposure
products اختياريqueryسلسلة نصيةexploited-vulnerability-exposure: comma list of vendor:product or product (at most 50) Example: microsoft:exchange server
cves اختياريqueryسلسلة نصيةexploited-vulnerability-exposure: comma list of CVE ids (at most 100)
edges اختياريqueryسلسلة نصيةdependency-cascade-model: comma list of a>b (b depends on a; at most 200)
fail اختياريqueryسلسلة نصيةdependency-cascade-model: the failed asset
buffers اختياريqueryسلسلة نصيةdependency-cascade-model: optional comma list of asset:hours
lat اختياريqueryسلسلة نصيةcompute-site-resource-risk: site latitude, decimal degrees
lon اختياريqueryسلسلة نصيةcompute-site-resource-risk: site longitude, decimal degrees
radius_km اختياريqueryسلسلة نصيةcompute-site-resource-risk: search radius in km (default 50, at most 500)
fuel اختياريqueryسلسلة نصيةcompute-site-resource-risk: GPPD primary fuel filter
nearest اختياريqueryسلسلة نصيةcompute-site-resource-risk: nearest plants listed (default 10, at most 25)
hit اختياريqueryسلسلة نصيةprocess-disruption-model: the asset the hazard hits
downtime اختياريqueryسلسلة نصيةprocess-disruption-model: comma list of asset:low-high hours
process اختياريqueryسلسلة نصيةprocess-disruption-model: optional downstream asset to report
deps اختياريqueryسلسلة نصيةdpi-dependency-map: comma list of service>component
losses اختياريqueryسلسلة نصيةportfolio-aggregation: comma list of name:family:low-high
unit اختياريqueryسلسلة نصيةportfolio-aggregation, cyber-loss-quantification: optional unit label
start اختياريqueryسلسلة نصيةcascade-simulation: NHS-1 hazard id
coupling اختياريqueryسلسلة نصيةcascade-simulation: 0 to 1, the modeller's transmission probability
depth اختياريqueryسلسلة نصيةcascade-simulation: 1 to 3
trials اختياريqueryسلسلة نصيةcascade-simulation (100 to 5000), cyber-loss-quantification (500 to 20000)
seed اختياريqueryسلسلة نصيةcascade-simulation, cyber-loss-quantification: integer seed
kinds اختياريqueryسلسلة نصيةcascade-simulation: comma list of relation kinds
lef_low اختياريqueryسلسلة نصيةcyber-loss-quantification: loss event frequency per year, low
lef_ml اختياريqueryسلسلة نصيةcyber-loss-quantification: most likely
lef_high اختياريqueryسلسلة نصيةcyber-loss-quantification: high
lm_low اختياريqueryسلسلة نصيةcyber-loss-quantification: loss magnitude per event, low
lm_ml اختياريqueryسلسلة نصيةcyber-loss-quantification: most likely
lm_high اختياريqueryسلسلة نصيةcyber-loss-quantification: high
exceed اختياريqueryسلسلة نصيةcyber-loss-quantification: loss threshold for an exceedance probability
sectors اختياريqueryسلسلة نصيةvalue-chain-shock-propagation: comma list of sectors
a اختياريqueryسلسلة نصيةvalue-chain-shock-propagation: coefficient matrix, rows separated by semicolons
shock اختياريqueryسلسلة نصيةvalue-chain-shock-propagation: comma list of sector:fraction
points اختياريqueryسلسلة نصيةvulnerability-curve-evaluator: comma list of intensity:damage-ratio
intensity اختياريqueryسلسلة نصيةvulnerability-curve-evaluator: comma list of intensities
exposure اختياريqueryسلسلة نصيةvulnerability-curve-evaluator: optional exposure value

الردود

  • 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)
  • 501 WRITES_OFF (no verified Passport configuration) or NOT_BUILT (a problem, RFC 9457)