મુખ્ય સામગ્રી પર જાઓ
The Consortium

વિકાસકર્તાઓ

exercise_design

NXS Risk Policy and Governance API

Open. Reading is free and needs no key.

GET /v1/grf/exercises/design EServed

All operations

Design an exercise from your inputs (calculator)

Computes a design skeleton only from the inputs you give: type, duration, participants, objectives and, optionally, instrument ids whose cited provisions the scenario could test. Method grf-exercise-design-v1, labelled illustrative, inputs yours: the time shares are a convention of the method, not a figure from HSEEP or ISO 22398. Nothing is stored. State: exists.

MCP tool: exercise.design

Parameters

Parameters
નામInપ્રકારતે શું કરે છે
type optionalquerystringseminar, workshop, tabletop, game, drill, functional or full-scale (required)
durationMinutes optionalqueryintegerTotal minutes, 30 to 10080 (required)
participants optionalqueryintegerNumber of participants, 1 to 2000 (required)
objectives optionalquerystringOne to eight objectives separated by a vertical bar, each up to 200 characters (required)
instruments optionalquerystringInstrument ids, comma separated (optional)
scenario optionalquerystringYour scenario, up to 600 characters (echoed, never interpreted)
hazard optionalquerystringNHS-1 id (optional)
jurisdiction optionalquerystringISO 3166-1 alpha-3 (optional)

Responses

  • 200 Records with provenance
  • 304 Not modified: If-None-Match matches the current ETag
  • 400 BAD_PAGE, BAD_QUERY, BAD_ID or BAD_DIMENSION (an unknown or malformed industry, jurisdiction, region, regime, hazard, domain, topic, status or date) (a problem, RFC 9457)
  • 404 NOT_FOUND (an unknown id or subsite), or NOT_YET_PUBLISHED where no record exists (a problem, RFC 9457)
  • 429 RATE_LIMITED: open-tier limit; Retry-After says when to retry (a problem, RFC 9457)
  • 500 INTERNAL (a problem, RFC 9457)
  • 501 STEP_NOT_BUILT: a designed solution step answers this with what it needs (a problem, RFC 9457)
  • 502 UPSTREAM_ERROR: the backend answered an error or not JSON (a problem, RFC 9457)
  • 503 BACKEND_CONNECTION_OFF (a problem, RFC 9457)
  • 504 UPSTREAM_TIMEOUT (a problem, RFC 9457)