{"uid":"cap_fttT9AT0Wt626Kar_XTCB","slug":"cloud-world-model-batch-chaos-test-883a1c72","name":"Cloud World Model – Batch Chaos Test","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/batch","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"scenarios":{"type":"array","items":{"type":"object","required":["duration"],"properties":{"duration":{"type":"number","maximum":300,"minimum":10},"scenarioId":{"type":"string"},"customInjections":{"type":"array","items":{"type":"object","required":["failureType"],"properties":{"duration":{"type":"number"},"intensity":{"type":"number","maximum":100,"minimum":0},"failureType":{"enum":["database_crash","database_slowdown","database_overload","zone_outage","instance_failure","network_latency","network_partition","cascading_failure","cpu_stress"],"type":"string"},"targetResourceId":{"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"}}}}}},"maxItems":10,"minItems":1},"webhookUrl":{"type":"string","format":"uri"},"simulationId":{"type":"string"},"webhookSecret":{"type":"string"}}},"responseSchema":{"type":"json","example":{"job":{"id":"batch-id","type":"batch_chaos_test","status":"pending","createdAt":"2024-01-01T00:00:00.000Z","totalJobs":2},"message":"Batch chaos test started. Use GET /chaos/batch/{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_NNTLMIJ0Q14BiblwF515i","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":"Runs multiple chaos engineering scenarios in parallel against simulated cloud infrastructure (AWS, GCP, Azure, OCI, DigitalOcean) without touching real resources.","exampleAgentPrompt":"Run a batch chaos test on my Cloud World Model simulation — inject a database_crash for 60 seconds and a network_partition for 120 seconds, and send results to https://my-webhook.example.com/results when done.","exampleUseCases":[{"title":"Multi-failure resilience validation","prompt":"I want to test how my simulated AWS architecture handles a zone outage and a database crash at the same time — run both as a batch chaos test, each lasting 90 seconds, and notify my webhook at https://hooks.myapp.io/chaos when complete."},{"title":"Pre-launch fault tolerance check","prompt":"Before we go live, run a batch of chaos scenarios on our Cloud World Model sim: a CPU stress injection for 120 seconds and a cascading_failure for 60 seconds, targeting resource IDs 'db-primary' and 'app-server-1'."},{"title":"Parallel multi-cloud stress test","prompt":"Kick off three simultaneous chaos tests on my cloud simulation — a network_latency injection for 30 seconds, an instance_failure for 45 seconds, and a database_slowdown for 60 seconds — and POST the results to https://ci.myteam.dev/webhook when the batch finishes."}],"resultDescription":"Returns a batch job object with a unique batch ID, job type ('batch_chaos_test'), initial status ('pending'), creation timestamp, and total number of sub-jobs queued. The agent can poll GET /chaos/batch/{id} to track progress.","failureModes":["Invalid scenario duration (must be 10–300 seconds) returns a 400 validation error","More than 10 scenarios in a single batch exceeds the maxItems limit and is rejected","Missing required 'duration' field in any scenario causes schema validation failure","Invalid webhookUrl format causes rejection","Unknown failureType enum value results in a 400 error","Payment failure via x402 protocol blocks the request before execution","Simulation ID not found may result in 404 or orphaned job"],"whenToPreferThis":"Choose this endpoint when you need to run multiple chaos engineering scenarios concurrently against simulated cloud infrastructure rather than one at a time. It is ideal for pre-deployment resilience validation, CI/CD pipeline fault-tolerance gates, or educational exercises on Canvas Cloud AI where real cloud resources must not be touched. Prefer this over single-scenario endpoints when testing interactions between simultaneous failure modes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:25.741Z","isFirstParty":false}