Workflow

Invoke

POST
Invoke a specific workflow

Path parameters

workflow_idstringRequired

Request

This endpoint expects an object.
input
stringRequired
enableStreaming
booleanRequired
sessionId
stringOptional
outputSchemas
map from strings to stringsOptional
outputSchema
stringOptional

Response

This endpoint returns any
POST
1curl -X POST https://api.beta.superagent.sh/api/v1/workflows/workflow_id/invoke \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "input": "input",
6 "enableStreaming": true
7}'
200
Successful
1{
2 "key": "value"
3}