POST
/
runs
/
wait
Create Run, Wait for Output
curl --request POST \
  --url https://api.b-bot.space/v2/runs/wait \
  --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"
}'
"<any>"

Body

application/json

Payload for creating a run.

Response

200
application/json

Success

The response is of type any.