# Cloud World Model – Batch Chaos Test

> Cloud World Model – Batch Chaos Test is a paid API for AI agents from www.cloudworldmodel.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Runs multiple chaos engineering scenarios in parallel against simulated cloud infrastructure (AWS, GCP, Azure, OCI, DigitalOcean) without touching real resources.

## Facts

- Endpoint: POST https://www.cloudworldmodel.ai/api/chaos/batch
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cloud-world-model-batch-chaos-test-883a1c72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fttT9AT0Wt626Kar_XTCB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cloud-world-model-batch-chaos-test-883a1c72 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Simulate AWS, GCP, Azure, OCI, and DigitalOcean cloud infrastructure without provisioning real resources. Built for Canvas Cloud AI learners and agents.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cloud-world-model-batch-chaos-test-883a1c72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.cloudworldmodel.ai](https://www.zero.xyz/host/www.cloudworldmodel.ai/llms.txt)
