v1

latestOpenAPI 3.0.0Apache-2.02026-07-172384109.4 KB

post/api/v1/workflow/waitForStateCompletion

Request body

workflowIdstring required
stateExecutionIdstring
stateIdstring
waitForKeystring
waitTimeSecondsinteger

Example request

{
  "waitTimeSeconds": 0,
  "stateId": "stateId",
  "workflowId": "workflowId",
  "stateExecutionId": "stateExecutionId",
  "waitForKey": "waitForKey"
}

Response

successful operation

Example response

{
  "stateCompletionOutput": {
    "completedStateOutput": {
      "data": "data",
      "extStoreId": "extStoreId",
      "extPath": "extPath",
      "encoding": "encoding"
    },
    "completedStateExecutionId": "completedStateExecutionId",
    "completedStateId": "completedStateId"
  }
}