dockStatusId, which can be used with the Get Dock Status API to track the export progress. The API response also includes an exportJobId for tracking the specific export job.
Additionally, the response provides a download URL. Copy and paste this URL into a browser or API client to download the exported workflow file.
| Method | POST |
| Endpoint | https://{host}/api/public/workflow/:{workflowId}/export?flowId={callflowId} |
| Content Type | application/json |
| Authorization | X-api-key - The API key used for authentication. |
- Follow the steps mentioned here to export a workflow.
- Open developer workflows.
- Select the Network tab.
- Monitor the Export API to capture
workflowIdandcallflowId.
Query Parameters
| PARAMETER | DESCRIPTION | TYPE | REQUIRED/OPTIONAL |
|---|---|---|---|
| host | The environment URL. For example, https://ai-for-process.domain.ai/ | String | Required |
| workflowId | The workflow ID of the workflow being exported. | String | Required |
| callflowId | The callflow ID for the deployed workflow. | String | Required |
Sample Request
Body Parameters
No parameters are passed.Sample Response
Response Parameters
| PARAMETER | DESCRIPTION | TYPE |
|---|---|---|
| dockStatusId | The unique identifier to track the status of the workflow export process. | String |
| workflowId | The unique identifier for the workflow. | String |
| jobType | The type of job being performed. | String |
| action | The action that is performed on the workflow. | String |
| status | The current status of the job. | String |
| exportJobId | The unique identifier to track the specific export job. | String |
| downloadURL | The URL to download the exported workflow file. | String |