Skip to main content
POST
Run a document's experiment - replications with Student-t intervals (A2)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
experiment
string
required
document
object

The model document (MultisimDoc): name, main, time_unit, agent_types[] (parameters, variables, functions, events, blocks[] {id, kind, params, actions, stream}, connectors[] {from, to}), experiments[] {name, kind: simulation | replications, stop_time, seed, warm_up, replications, confidence, frames_every, outputs[] {name, metric}, parameters}. Parsed tolerantly; its canonical bytes are the document key.

document_key
string

TL13: the model by its document key instead of document (give one of the two): the document_key multisim.import or a run answered, or an episode's final_key, so a model read from a file runs and is edited without travelling through the caller. An unknown key answers 404 MULTISIM_DOCUMENT_UNKNOWN.

Response

OK

agent_type
string
assertions
object[]
best
object

optimisation / calibration: the best row

confidence
number
distributions
object

monteCarlo: each output's histogram {lo, width, counts, under, over}

document_key
string
experiment_key
string
frames_key
string

Blob key of the animation frames

kind
string
little_max_error
number

The largest relative Little's-law error over the blocks

log
array

The event log when include_log is set

log_key
string

Blob key of the event log (JSON array of {t, seq, block, what, entity})

log_truncated
boolean
metrics
object

Every block metric as .

name
string
outputs
object[]

Per output: name, metric, n, mean, sd, min, max, half_width (Student-t), confidence, method, values[]

passed
boolean

test: every assertion held

replications
integer
result_key
string

Blob key of the stored summary (GET /v1/blobs/{key})

row_count
integer
rows
object[]

A8: the table's rows (up to 500 inline): index, label, tag, values, outputs, half_widths, delta, run_key, objective, refusal, feasible

run
object

The run summary: per block count_in / count_out / inside (time-weighted) / time_inside (tally) / the block's own statistics / utilization; Little's law per block; variables; draws per stream

run_key
string

BLAKE3(document key | experiment key) - the run's address

seed
integer
stop_time
number
table_key
string

The whole table as a blob (b3:...)

tornado
object[]

sensitivity: {output, parameter, low, high, baseline, at_low, at_high, swing} by swing

version
string

multisim-v1

warm_up
number