Skip to content
For LLMsView as Markdown·

Simulate a round against your wallet endpoint ​

http
POST https://api.onehazel.com/onehazel-api/operators/me/connect/simulate

OneHazel plays a game studio through one round against your registered wallet endpoint, signed and sent with X-OneHazel-Env: test to your test player. Body: { "scenario": "round" | "rollback" | "freeround" }. Returns each step with its HTTP status and the balance after it, plus an overall ok. Simulated money is never billed. At most 10 runs per operator per hour. Returns CONNECT_MODULE_NOT_REGISTERED (409) when no wallet endpoint with a test player is registered.

Section: Onboarding
Operation id: postOperatorsMeConnectSimulate

Authentication ​

Signed-in session token (Authorization: Bearer <session token>).

Request body ​

JSON object.

Responses ​

200 { "success": true, "data": ... }

Errors return { "success": false, "error": { "code": "...", "message": "..." } } with a 4xx or 5xx status.

Example ​

bash
curl -X POST "https://api.onehazel.com/onehazel-api/operators/me/connect/simulate" \
  -H "Authorization: Bearer YOUR_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

Machine-readable: openapi.yaml, openapi.json.