Add a new model.

Creates a new model by uploading a model file and specifying metadata such as name, description, and reference. The model is to be authored in Domain Specific Language (DSL).
Entitlement required: manageFlows.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests

LoadingLoading

Query Params
boolean
Defaults to false

If set to true, tasks are connected automatically using these rules:
1. If a task does not have a next property, it is automatically linked to the immediate next node's id.
2. If any task (except the End node) is the last in sequence, no next property is added.

If set to false, task without a next property remains disconnected. This is allowed when creating or updating a model, but while publishing, the disconnected nodes cause validation errors.

boolean
Defaults to false

If set to true, returns issues pertaining the model. The model can still be saved in draft mode. However, all issues need to be fixed before publishing the model.

Body Params
string
required

Unique reference of the model.

string
required

Unique name of the model.

string

Description of the model.

file
required

File containing the model. Only JSON format is supported.

Responses

showErrors=true, issues are returned in the response. If showErrors=false, the response is empty.

Language
URL
LoadingLoading

Response
Choose an example:
application/json