/api/combat-simulator/jobs
/api/combat-simulator/jobs
Asynchronous form of /api/combat-simulator/simulate. The
official client switched to it (seen in the client bundle 2026-10-27); /simulate still
answers.
Flow
POST /api/combat-simulator/jobswith the same{ attacker, defender }body as/simulate. Answer:{ "ticket": "<uuid>.<43-char base64url>", "status": "pending" }.GET /api/combat-simulator/jobs/{ticket}, polled every 2 s by the client:{ "status": "pending" }- keep polling.{ "status": "complete", "result": { ... } }-resulthas the same shape as the/simulateresponse:scale,summary,exact,report.- any other status - the client reports “Calculation failed”.
Refusals carry the same codes as /simulate (CALCULATOR_UNAVAILABLE, CALCULATOR_BUSY,
SIMULATION_REJECTED).
- Verified 2026-10-27 on
s0: 1000 Stealth Ship (id 3) vs 1000 Cruiser (id 8), bothtype: playerwith no bonuses -> ticket returnedpending, first pollcompleteafter 0.5 s;defender_wonin 3 rounds, all 1000 attackers lost, no defender losses.