Skip to main content
POST
Simulate a model

Authorizations

Authorization
string
header
required

Path Parameters

model_id
string
required

The model's friendly ID (e.g. mod_aBcD1234eFgH5678).

Body

application/json
inputs
object
required

Input values keyed by data point type slug. Each value must match its data point type (a number, string, boolean or one of an enumeration's options).

start_time
string<date-time>
required

ISO 8601 date/datetime for simulation period start

end_time
string<date-time>
required

ISO 8601 date/datetime for simulation period end

Response

200

results
object

Each node's result, keyed by node ID. A node that returns several values has a list of {value, unit} objects instead.

errors
object

Error messages keyed by the input slug that was missing or invalid, or by the ID of the node that failed to compute. Empty when the simulation succeeded.

execution_time_ms
number