curl --request POST \
--url https://api.b-bot.space/v2/threads/{thread_id}/state \
--header 'Content-Type: application/json' \
--data '{
"values": [
"<any>"
],
"checkpoint": {
"thread_id": "<string>",
"checkpoint_ns": "<string>",
"checkpoint_id": "<string>",
"checkpoint_map": {}
},
"as_node": "<string>"
}'
{
"checkpoint": {}
}
Add state to a thread.
curl --request POST \
--url https://api.b-bot.space/v2/threads/{thread_id}/state \
--header 'Content-Type: application/json' \
--data '{
"values": [
"<any>"
],
"checkpoint": {
"thread_id": "<string>",
"checkpoint_ns": "<string>",
"checkpoint_id": "<string>",
"checkpoint_map": {}
},
"as_node": "<string>"
}'
{
"checkpoint": {}
}
The ID of the thread.
Payload for updating the state of a thread.
Success
Response for adding state to a thread.