POST
/
api
/
orchestration
/
workflows
/
{workflowID}
/
instances
curl --request POST \
  --url http://localhost:55001/api/orchestration/workflows/{workflowID}/instances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {
    "workflowID": "<string>",
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "status": [
      {
        "stage": 123,
        "instanceID": "<string>",
        "startedAt": "2023-11-07T05:31:56Z",
        "terminatedAt": "2023-11-07T05:31:56Z",
        "error": "<string>"
      }
    ],
    "terminated": true,
    "terminatedAt": "2023-11-07T05:31:56Z",
    "error": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

workflowID
string
required

The flow id

Query Parameters

wait
boolean

Wait end of the workflow before return

Body

application/json · object

Response

201
application/json

The workflow instance

The response is of type object.