docs/sandbox.mdx
World Monitor provides a sandbox so agents and integrations can be built and tested without an API key, without consuming quota, and without any risk to production data. It has three legs:
The sandbox serves deterministic, schema-valid sample responses for representative REST operations as plain static JSON. Start at the index:
curl https://www.worldmonitor.app/sandbox/index.json
Each entry lists the operation, its production URL, and a fixture URL. Fetching a fixture returns the exact envelope shape the production endpoint returns, wrapped with the request metadata:
curl https://www.worldmonitor.app/sandbox/get-resilience-score.json
{
"sandbox": true,
"operation": {
"method": "GET",
"path": "/api/resilience/v1/get-resilience-score",
"productionUrl": "https://api.worldmonitor.app/api/resilience/v1/get-resilience-score"
},
"request": { "query": { "countryCode": "US" } },
"response": { "status": 200, "body": { "...": "schema-valid example payload" } }
}
Guarantees:
scripts/generate-sandbox-fixtures.mjs) and only change when the API contract changes. Safe to snapshot in CI.response.body validates against the operation's response schema in openapi.json."sandbox": true. Never treat fixture payloads as live data.The production MCP server at https://worldmonitor.app/mcp lets you explore the full tool surface with no auth and no daily-quota consumption:
tools/list — the live tool inventory (compressed descriptions)describe_tool — full definition for any tool, including its output schemaprompts/list / prompts/get — pre-built workflow templatesresources/list — read-only resources (the seed-meta freshness resource is fully anonymous)The docs MCP server at https://www.worldmonitor.app/docs/mcp is entirely public — search and read this documentation over MCP with no key at all.
Every data operation in the REST API and every MCP data tool is read-only: there is no call an agent can make against api.worldmonitor.app that mutates production data. The only mutating surfaces are account-scoped (API-key management, alert rules, notification channels) and require an authenticated session — they are deliberately absent from the sandbox.
X-WorldMonitor-Key: wm_<40-hex> (or use OAuth 2.1 with scope=mcp).productionUrl from the sandbox index — the envelope shape is identical.Retry-After on 429.See Authentication for the full auth matrix and Errors for the error envelope you'll see on the live API.