Skip to main content
POST
Create a model run

Authorizations

Authorization
string
header
required

Path Parameters

model_id
string
required

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

Body

application/json
model_run
object
required

Response

The created run, in its final state.

A model run as returned by the single-run endpoints, with whether it can be deleted.

id
string

The model run's friendly ID (e.g. mr_aBcD1234eFgH5678).

Example:

"mr_aBcD1234eFgH5678"

start_time
string<date-time>
end_time
string<date-time>
state
enum<string>

updated means the run computed. incomplete means a data gap (see incomplete_nodes) and is also the initial state. staged and processing are transient while the run is queued and computing. error means a compute failure (see error_message).

Available options:
incomplete,
staged,
processing,
updated,
error
error_message
string | null
processed
boolean

Whether the run has been through processing. false with state: incomplete means the run has not been processed yet.

incomplete_nodes
object[]

The nodes a run in the incomplete state could not compute, up to 50. Empty in every other state.

created_at
string<date-time>
updated_at
string<date-time>
calculations
object[]

One entry per top-level output node that computed a value. Empty until the run has a result.

output_data_points
object[]

The data points the run wrote.

is_deletable
boolean

Whether the run can be deleted now.

deletion_blockers
object[]

Why the run cannot be deleted. Empty when is_deletable is true.