Skip to main content
A dataset is a stored set of tickets. A simulation judges that dataset with a pack’s published version. The API is available. The Experiments item in the app is disabled and labeled on the roadmap.
Create datasets and start simulations over the API. The screen at /experiments does not open.

Datasets

POST /api/datasets with { "name": "May refunds" } requires packs:write and returns { id, name }. GET /api/datasets requires packs:read and returns { items: [{ id, name, createdAt, ticketCount }] }. Add tickets with POST /api/datasets/{datasetId}/tickets. Tickets are redacted before they are stored. A dataset holds at most 250 tickets. Going past the cap is 400 with dataset is capped at 250 tickets.
201 returns { "inserted": 1, "total": 1 }.

Simulations

POST /api/simulations requires simulations:run:
202 returns { "id": "..." } before the run finishes. The pack must be published, or the response is 409. GET /api/simulations/{id} returns the run: GET /api/simulations lists runs with dataset and pack names. Each evaluation is also a normal evaluation with source simulation.