Skip to main content

Creates new model

POST 

/iot/models

Creates new model. User identified by the provided access token will be the model's owner.

Authorization Action:

core:models:create

Request

Body

required

JSON-formatted document describing the new model.

    id uuid

    Unique model identifier.

    name string

    Free-form model name.

    description string

    Free-form model description.

    metadata object

    Arbitrary, object-encoded model data.

    tags string[]

    List of tags associated with the model.

    tenants string[]

    List of tenants that can access this model.

    image string

    URL to model image.

    created_at date-time

    Time when the model was created.

    updated_at date-time

    Time when the model was last updated.

Responses

Model created successfully.

Response Headers
  • Location string

    URL to created model resource.

Loading...