# Cloud World Model RL Batch Step

> Cloud World Model RL Batch Step is a paid API for AI agents from www.cloudworldmodel.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Execute up to 30 reinforcement learning training actions in a single batch request against a specific cloud simulation environment.

## Facts

- Endpoint: POST https://www.cloudworldmodel.ai/api/rl/environments/f7b5d7c8-1fae-4ef1-a703-e7861a94324e/batch-step
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cloud-world-model-rl-batch-step-2faf1b65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DgDq39X7mKUb_8bic3wdu

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-rl-batch-step-2faf1b65 -d '<json body>'
```

Example prompt: Run a batch of 10 RL training steps on environment 57dc6e63-8a05-47cb-832f-db07aa1dc877 — first scale_out twice, then adjust_threshold with a target CPU of 70, then do no_op for 5 steps, and finally scale_in once, each step simulating 60 seconds of cloud time.

## When to prefer this

Use this endpoint when you need to advance an RL training environment by multiple timesteps efficiently without making a separate API call per step. It is preferred over the single-step endpoint when running training loops, evaluating long action sequences, or batching simulation steps for throughput — saving both latency and per-call costs (up to 30x operations per $0.001).

## Known failure modes

- More than 30 steps provided — request rejected with validation error
- Invalid action type not in enum (adjust_threshold, scale_out, scale_in, add_resource, remove_resource, no_op, set_recovery_policy)
- tick_seconds out of range (must be 1–3600)
- Environment ID not found or not accessible
- Payment not attached or insufficient USDC — 402 payment required
- Empty steps array — minItems 1 violated
- Malformed action parameters object

## How this service works

Execute multiple RL training actions in a single request (up to 30 steps per call).

## Output

Returns the results of all executed steps in the batch, including updated environment state, observations, rewards, and any transition data produced by the hybrid cloud simulation engine after each action in the ordered sequence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "steps": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "action"
    ],
    "properties": {
     "action": {
      "type": "object",
      "required": [
       "type"
      ],
      "properties": {
       "type": {
        "enum": [
         "adjust_threshold",
         "scale_out",
         "scale_in",
         "add_resource",
         "remove_resource",
         "no_op",
         "set_recovery_policy"
        ],
        "type": "string"
       },
       "parameters": {
        "type": "object",
        "additionalProperties": true
       }
      }
     },
     "tick_seconds": {
      "type": "integer",
      "maximum": 3600,
      "minimum": 1,
      "description": "Simulated seconds per step (overrides environment default)"
     }
    }
   },
   "maxItems": 30,
   "minItems": 1,
   "description": "Ordered list of step actions to execute (max 30)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cloud-world-model-rl-batch-step-2faf1b65/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)
