POST
/
threads
/
{thread_id}
/
state
Update Thread State
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": {}
}

Path Parameters

thread_id
string<uuid>
required

The ID of the thread.

Body

application/json

Payload for updating the state of a thread.

Response

200
application/json

Success

Response for adding state to a thread.