Skip to main content
POST
/
workflows
/
{workflow_id}
/
runs
Execute Workflow
curl --request POST \
  --url https://api.example.com/workflows/{workflow_id}/runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'message=<string>' \
  --data stream=true \
  --data 'session_id=<string>' \
  --data 'user_id=<string>'
{
  "detail": "Bad request",
  "error_code": "BAD_REQUEST"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workflow_id
string
required

Body

application/x-www-form-urlencoded
message
string
required
stream
boolean
default:true
session_id
string | null
user_id
string | null

Response

Workflow executed successfully