Simulations

Create a simulation

Changed on

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

Request

  • Base URL: https://app.stainless.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.stainless.com/v1/simulations
  • Auth: none declared

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

unknown required

Changes