get a workflow's status and results(if completed & requested)
post/api/v1/workflow/get
Request body
Example request
{
"waitTimeSeconds": 0,
"needsResults": true,
"workflowRunId": "workflowRunId",
"workflowId": "workflowId"
}Response
successful operation
Example response
{
"workflowStatus": null,
"errorType": null,
"errorMessage": "errorMessage",
"workflowRunId": "workflowRunId",
"results": [
{
"completedStateOutput": {
"data": "data",
"extStoreId": "extStoreId",
"extPath": "extPath",
"encoding": "encoding"
},
"completedStateExecutionId": "completedStateExecutionId",
"completedStateId": "completedStateId"
},
{
"completedStateOutput": {
"data": "data",
"extStoreId": "extStoreId",
"extPath": "extPath",
"encoding": "encoding"
},
"completedStateExecutionId": "completedStateExecutionId",
"completedStateId": "completedStateId"
}
]
}