isAsync parameter.
The API response includes the workflow ID and the workflow deployment status. After receiving the response, use the dockStatusId to call the Get Dock Status API and verify the workflow deployment status.
| Method | POST |
| Endpoint | https://{host}/api/public/workflows/:{workflowId}/deploy |
| Content Type | application/json |
| Authorization | X-api-key - The API key used for authentication. |
Path Parameters
| PARAMETER | DESCRIPTION | TYPE | REQUIRED/OPTIONAL |
|---|---|---|---|
| host | The environment URL. For example, https://ai-for-process.domain.ai/ | String | Required |
| workflowId | The unique identifier of the workflow being deployed. | String | Required |
Sample Request
Body Parameters
| PARAMETER | DESCRIPTION | TYPE | REQUIRED/OPTIONAL |
|---|---|---|---|
| isAsync | Indicates if the deployment is asynchronous (true) or synchronous (false). | Boolean | Required |
Sample Response
Response Parameters
| PARAMETER | DESCRIPTION | TYPE |
|---|---|---|
| dockStatusId | The unique identifier for tracking the workflow deployment. | String |
| workflowId | The unique identifier of the workflow being deployed. | String |
| jobType | The type of job being performed (WORKFLOWS). | String |
| action | The action being performed (DEPLOY). | String |
| status | The deployment status (SUCCESS, IN_PROGRESS, or FAILED). | String |