cURL
curl --request POST \ --url https://api.example.com/api/workflows/submit \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "workflows": [ {} ], "metadata": {}, "version": "1.0" } '
{ "id": "<string>", "client_id": "<string>", "owner_id": "<string>", "file_id": "<string>", "metadata_json": {}, "status": "PENDING", "total_tasks": 123, "completed_tasks": 123, "start_time": 123, "update_time": 123, "end_time": 123 }
Submit a workflow for execution, the workflow is a list of tasks with their dependencies.
Workflow definition
Additional metadata
Version of the workflow
OK
Response of Workflow Status
Workflow Status Enum
PENDING
RECEIVED
STARTED
PROGRESS
SUCCESS
FAILURE
REVOKED
Was this page helpful?