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.
- JSON
- CSV
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.