GetResilienceScore
PRO-gated. Requires an active Pro subscription.
Authorizations
User-issued WorldMonitor API key.
Query Parameters
ISO 3166-1 alpha-2 country code to score.
Optional JMESPath expression applied server-side to project or reduce the JSON response before it is returned (mirrors the MCP jmespath argument). Invalid expressions, expressions larger than 1024 UTF-8 bytes, or projections that exceed the 256 KB output cap return HTTP 400 with a {_jmespath_error, original_keys} envelope. Grammar and worked examples: https://www.worldmonitor.app/docs/mcp-jmespath.
Response
Successful response
Phase 2 T2.1/T2.3: "2.0" is the current default (adds pillars; keeps overall_score / baseline_score / etc. populated for backward compat). "1.0" is the legacy opt-out shape (pillars empty) retained for one release cycle. Controlled at response build time by the RESILIENCE_SCHEMA_V2_ENABLED env flag (defaults to "true" → v2).
Current headline-ranking eligibility. True only when the country passes the headline gate: coverage >= 0.65 AND (population >= 200k OR coverage >= 0.85) AND !lowConfidence. GetResilienceRanking includes only eligible countries in items[]; scored but ineligible countries remain in greyedOut[]. Raw score endpoints still return the country score when available. Widget and country detail copy should show "Outside headline ranking" when false unless low-confidence is the more specific reason.
