4.6 Retrieving Workflow Status Information

To get status information for a specific workflow, use the following URL:

http://<platform-host>:<webinterface-port>/webapi/<version>/workflows/<key>

Example - Workflow status information

$ curl -X GET "http://localhost:9000/webapi/v1/workflows/MZ1290001112344_1" -u mzadmin:dr

Response

See the following example of content that is included in the HTTP response:

Example - Response content including status information for a specific workflow

<workflow>
 <current-ec>ec1</current-ec>
 <last-action-type>STARTED</last-action-type>
 <source-file-left>4</source-file-left>
 <key>MZ1290001112344_1</key>
 <name>Default.disk.workflow_1</name>
 <state>RUNNING_STATE</state>
 <manual-mode>false</manual-mode>
</workflow>