v1

latestOpenAPI 3.1.02026-07-22128346287.7 KB
Models

Model Create

Create a model object.

post/v2/{entity}/{project}/models

Path parameters

entitystring required
projectstring required

Request body

namestring required

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

descriptionstring nullable

A description of this model

source_codestring required

Complete source code for the Model class including imports

attributesobject nullable

Additional attributes to be stored with the model

Response

Successful Response

digeststring required

The digest of the created model

object_idstring required

The ID of the created model

version_indexinteger required

The version index of the created model

model_refstring required

Full reference to the created model