Skip to main content
POST
Model Create

Path Parameters

entity
string
required
project
string
required

Body

application/json
name
string
required

The name of this model. Models with the same name will be versioned together.

source_code
string
required

Complete source code for the Model class including imports

description
string | null

A description of this model

attributes
Attributes · object | null

Additional attributes to be stored with the model

Response

Successful Response

digest
string
required

The digest of the created model

object_id
string
required

The ID of the created model

version_index
integer
required

The version index of the created model

model_ref
string
required

Full reference to the created model