Models
A model is the set of rules that turns a source into structured data: the conditions that activate it against a source, the steps it applies to that source, and the outputs it is expected to produce. These endpoints author models, version them, and control which version each environment runs.
Every change to a model is a version, and each version is published independently to development, sandbox and production. A change can therefore be proven in development and promoted outwards without disturbing what production is running. A version can be revised in place for as long as it has only been published to development; once it reaches sandbox or production it is frozen, and further changes need a new version number.
Access to models is granted on request. These endpoints are open to the Onteric team and to customers invited to use custom models.
List the models in this environment
Returns a page of this environment's models, without their bodies — no steps, outputs or
Create a model and its first version
Available in development only — the sandbox and production tables are replicas of development,
Get the model version this environment runs, in full
Returns the version of the model published to this environment, including every step, along
List the versions of a model
Returns a paginated list of every version of the model, newest first, without their bodies. A
Create a new version of a model
Available in development only — the sandbox and production tables are replicas of development,
Get a specific version of a model, in full
Returns the named version of the model, including every step, whether or not it is published
Create or replace a version of a model at a version number
Available in development only — the sandbox and production tables are replicas of development,
Publish a model version to one or more environments
Available in development only — the pointers for every environment are written to the