cURL
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.
The ID of the thread.
Payload for updating the state of a thread.
The values to update the state with.
The checkpoint to update the state of.
Show child attributes
Update the state as if this node had just executed.
Success
Response for adding state to a thread.