curl --request POST \
--url https://api.b-bot.space/v2/threads/{thread_id}/runs/wait \
--header 'Content-Type: application/json' \
--data '{
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"checkpoint": {
"thread_id": "<string>",
"checkpoint_ns": "<string>",
"checkpoint_id": "<string>",
"checkpoint_map": {}
},
"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"
],
"stream_subgraphs": false,
"stream_resumable": false,
"on_disconnect": "cancel",
"feedback_keys": [
"<string>"
],
"multitask_strategy": "enqueue",
"if_not_exists": "reject",
"after_seconds": 123,
"checkpoint_during": false,
"durability": "async"
}'
"<any>"
Create a run in existing thread. Wait for the final output and then return it.
curl --request POST \
--url https://api.b-bot.space/v2/threads/{thread_id}/runs/wait \
--header 'Content-Type: application/json' \
--data '{
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"checkpoint": {
"thread_id": "<string>",
"checkpoint_ns": "<string>",
"checkpoint_id": "<string>",
"checkpoint_map": {}
},
"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"
],
"stream_subgraphs": false,
"stream_resumable": false,
"on_disconnect": "cancel",
"feedback_keys": [
"<string>"
],
"multitask_strategy": "enqueue",
"if_not_exists": "reject",
"after_seconds": 123,
"checkpoint_during": false,
"durability": "async"
}'
"<any>"
The ID of the thread.
Payload for creating a run.
Success
The response is of type any
.