{"uid":"cap_p2j3l2qSVEuw9B9_9au_r","slug":"cloud-world-model-chaos-test-runner-06588337","name":"Cloud World Model Chaos Test Runner","description":"Simulate AWS, GCP, Azure, OCI, and DigitalOcean cloud infrastructure without provisioning real resources. Built for Canvas Cloud AI learners and agents.","url":"https://www.cloudworldmodel.ai/api/chaos/run","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"duration":{"type":"number","maximum":1000,"minimum":10,"description":"Test duration in seconds (default 300)"},"scenarioId":{"type":"string","description":"Pre-built chaos scenario ID (e.g. cpu_stress, zone_outage)"},"simulationId":{"type":"string"},"customInjections":{"type":"array","items":{"type":"object","required":["failureType"],"properties":{"duration":{"type":"number"},"intensity":{"type":"number","maximum":100,"minimum":0},"startTime":{"type":"number"},"targetZone":{"type":"string"},"failureType":{"enum":["database_crash","database_slowdown","database_overload","zone_outage","instance_failure","network_latency","network_partition","cascading_failure","cpu_stress"],"type":"string"},"targetProvider":{"enum":["aws","gcp","azure","oci","digitalocean"],"type":"string"},"targetResourceId":{"type":"string"},"affectedResources":{"type":"array","items":{"type":"string"}},"targetResourceName":{"type":"string","description":"Resource display name to target — resolved exact-then-prefix (case-insensitive); ambiguous names return 400 with a candidates list"}}}}}},"responseSchema":{"type":"json","example":{"job":{"id":"job-id","type":"chaos_test","status":"pending","createdAt":"2024-01-01T00:00:00.000Z","simulationId":"sim-id"},"jobId":"job-id","message":"Chaos test started. Use GET /chaos/jobs/{id} to check status."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_plbZbnWZrnOSRKA4PwoYU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Injects chaos failures (CPU stress, zone outages, network partitions, etc.) into a simulated cloud infrastructure environment and returns a job ID for async status polling.","exampleAgentPrompt":"On my existing Cloud World Model simulation sim-abc123, run a zone_outage chaos test targeting AWS us-east-1 for 300 seconds at 80% intensity, then tell me the job ID so I can check the results.","exampleUseCases":[{"title":"Simulated zone outage drill","prompt":"I want to run a zone_outage chaos scenario on my Cloud World Model simulation sim-xyz789, targeting the GCP us-central1 zone for 600 seconds at 100% intensity — kick it off and give me the job ID to track progress."},{"title":"CPU stress test for SRE training","prompt":"Start a cpu_stress chaos test on simulation sim-training-01 using the pre-built cpu_stress scenario ID for 120 seconds so my team can practice incident response without touching real AWS resources."},{"title":"Multi-failure injection for resilience testing","prompt":"On my cloud simulation sim-resilience-42, inject a database_crash on aws node db-primary-1 starting at second 0 for 200 seconds at 90% intensity, and also a network_latency on azure nodes at second 60 for 150 seconds at 50% intensity — total test duration 400 seconds."}],"resultDescription":"Returns a JSON object containing a chaos job record with a unique job ID, job type ('chaos_test'), initial status ('pending'), creation timestamp, and the associated simulationId, plus a message instructing the caller to poll GET /chaos/jobs/{id} for status updates.","failureModes":["Invalid simulationId returns an error if the simulation does not exist or is not running","Unknown scenarioId returns a not-found or validation error","customInjections with missing required 'failureType' field cause schema validation failure","duration outside the 10–1000 second range is rejected","intensity values outside 0–100 are rejected","Specifying an unsupported failureType enum value causes a 400 validation error","Payment not included or insufficient USDC triggers a 402 Payment Required response","Concurrent chaos tests on the same simulation may conflict depending on platform limits"],"whenToPreferThis":"Use this endpoint when you need to inject controlled, simulated cloud infrastructure failures (CPU stress, zone outages, network partitions, database crashes, etc.) into a Cloud World Model simulation without provisioning or affecting real cloud resources. Prefer this over real chaos engineering tools (e.g. AWS Fault Injection Simulator, Gremlin) when you want a safe, cost-effective, sandbox environment for training AI/RL agents, running SRE drills, or evaluating architecture resilience. Use a pre-built scenarioId for convenience or customInjections for precise multi-failure orchestration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:29.416Z","isFirstParty":false}