Workflow

Get Workflow Status

Beta
POST

Request

This endpoint expects an object.
workflow_id
stringRequired

Response

This endpoint returns an object
status
string
execution_info
map from strings to any
workflow_output
map from strings to anyOptional
POST
1curl -X POST https://api.athenaintelligence.ai/api/v0/workflow/status \
2 -H "X-API-KEY: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "workflow_id": "workflow_5f6eeb00-86e5-41b2-8e1d-49415f34ccc4"
6}'
200Successful
1{
2 "status": "RUNNING",
3 "execution_info": {
4 "workflow_id": "workflow_5f6eeb00-86e4-41b2-8e1d-49115f94cccc",
5 "run_id": "ec58e7fa-de09-474a-8de1-a9dd021d874d",
6 "start_time": "2024-05-25T19:12:18.184746+00:00",
7 "close_time": "2024-05-25T19:16:29.792614+00:00",
8 "history_length": 23,
9 "status": "COMPLETED",
10 "task_queue": "task_queue_1",
11 "memo": {},
12 "search_attributes": {
13 "BuildIds": {
14 "0": "unversioned",
15 "1": "unversioned:9f046e3bbb8b10a7b3e08e5055cd82b4"
16 }
17 }
18 },
19 "workflow_output": {
20 "workflow_output": {
21 "key": "value"
22 }
23 }
24}