POST
/
v1
/
orchestrate
/
flows
/
{flow_id}
/
run
/
async
Asynchronously run the latest flow version
curl --request POST \
  --url http://{api_endpoint}/api/v1/v1/orchestrate/flows/{flow_id}/run/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "AnyValue": {}
}'
{
  "instance_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ibm-wxo-thread-id
string

The watsonx Orchestrate message thread id.

x-ibm-flow-instance-id
string

The flow execution instance id. Only use this if you want to resume a previous flow execution.

callbackUrl
string

The callback url for sending the flow output

Path Parameters

flow_id
string
required

The flow id

Body

application/json

Response

200
application/json

The flow execution request accepted.

The response is of type object.