cURL
curl --request POST \ --url https://api.b-bot.space/v2/threads/{thread_id}/state/checkpoint \ --header 'Content-Type: application/json' \ --data '{ "checkpoint": { "thread_id": "<string>", "checkpoint_ns": "<string>", "checkpoint_id": "<string>", "checkpoint_map": {} }, "subgraphs": true }'
{ "values": [ {} ], "next": [ "<string>" ], "tasks": [ { "id": "<string>", "name": "<string>", "error": "<string>", "interrupts": [ "<any>" ], "checkpoint": { "thread_id": "<string>", "checkpoint_ns": "<string>", "checkpoint_id": "<string>", "checkpoint_map": {} }, "state": {} } ], "checkpoint": { "thread_id": "<string>", "checkpoint_ns": "<string>", "checkpoint_id": "<string>", "checkpoint_map": {} }, "metadata": {}, "created_at": "<string>", "parent_checkpoint": {}, "interrupts": [ "<any>" ] }
Get state for a thread at a specific checkpoint.
The ID of the thread.
If true, includes subgraph states.
Payload for getting the state of a thread at a checkpoint.
The checkpoint to get the state for.
Show child attributes
Include subgraph states.
Success
Checkpoint config.