POST
/
runs
/
stream
Create Run, Stream Output
curl --request POST \
  --url https://api.b-bot.space/v2/runs/stream \
  --header 'Content-Type: application/json' \
  --data '{
  "assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "input": {},
  "command": {
    "update": {},
    "resume": {},
    "goto": {
      "node": "<string>",
      "input": {}
    }
  },
  "metadata": {},
  "config": {
    "tags": [
      "<string>"
    ],
    "recursion_limit": 123,
    "configurable": {}
  },
  "context": {},
  "webhook": "<string>",
  "interrupt_before": "*",
  "interrupt_after": "*",
  "stream_mode": [
    "values"
  ],
  "feedback_keys": [
    "<string>"
  ],
  "stream_subgraphs": false,
  "stream_resumable": false,
  "on_completion": "delete",
  "on_disconnect": "cancel",
  "after_seconds": 123,
  "checkpoint_during": false,
  "durability": "async"
}'
"<string>"

Body

application/json

Payload for creating a run.

Response

200
text/event-stream

Success

The server will send a stream of events in SSE format.

Example event:

id: 1

event: message

data: {}