本文档由聚智团队编写维护
curl --location --request POST 'http://127.0.0.1:2024/threads//runs/stream' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
"assistant_id": "b3a0271c-5834-40ff-bc5d-41ab5e39dfef",
"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": 0,
"configurable": {}
},
"webhook": "../dictionary",
"interrupt_before": "*",
"interrupt_after": "*",
"stream_mode": [
"values"
],
"stream_subgraphs": false,
"on_disconnect": "cancel",
"feedback_keys": [
"string"
],
"multitask_strategy": "reject",
"if_not_exists": "reject",
"after_seconds": 0
}'
"string"