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>"
Create a run in a new thread. Wait for the final output and then return it.
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>"
Payload for creating a run.
Success
The response is of type any
.