cURL
curl --request GET \ --url https://api.example.com/api/workflows/{workflow_id}/status \ --header 'Authorization: <authorization>'
{ "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 }
Get the status of a workflow by its ID, including its current state and metadata.
120
OK
Response of Workflow Status
Workflow Status Enum
PENDING
RECEIVED
STARTED
PROGRESS
SUCCESS
FAILURE
REVOKED
Was this page helpful?