Simulations

Create a simulation

Create a simulation from mode + goal + inputs + user_model_ids.

Returns immediately in status planning; the plan is generated in the background. Poll GET /{id} until status is planned.

post/v1/simulations

Headers

authorizationstring

Request body

modestring required

'research' or 'journey'

goalstring required

Goal id within the mode (from /v1/simulation-schema)

inputsobject

Answers keyed by the goal's input ids (from /v1/simulation-schema)

user_model_idsstring[] required

One or more user-model ids to simulate against

titlestring nullable
project_idstring uuid nullable

Optional project to add this simulation to; it joins the project's latest round (round 1 is created if none exists)

Response

Successful Response

{"stackTrail":"paths:/v1/simulations:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes