Skip to main content
POST
Inspect a Functional Mock-up Unit, or run an FMI 2.0 co-simulation FMU in the sandbox and answer its EXTERNAL result (MO13.c, IG27)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
action
enum<string>

inspect (default), run (IG27) or sandbox

Available options:
inspect,
run,
sandbox
fmu_base64
string

the .fmu bytes, standard base64 (or give fmu_blob_id)

fmu_blob_id
string

a blob uploaded with POST /v1/blobs holding the .fmu bytes

inputs
object

causality=input variables by name: a constant, or a table [[t, value], ...] held from each time

limits
object
outputs
string[]

variables to read at every communication point; every output when left out

parameters
object

causality=parameter variables by name: a number, or true / false for a Boolean

start_time
number
step_size
number

the fixed communication step; stop_time - start_time must be a whole number of it

stop_time
number

Response

inspect: the unit's description; run: the EXTERNAL result (see the description); sandbox: {sandbox: {available, platform, hello?: {layers, ...}, code?, reason?}, runs_on, job_kind, limits, not_pinned}