cURL
curl --request POST \ --url https://api.b-bot.space/api/v2/threads/{thread_id}/state/checkpoint \ --header 'Content-Type: application/json' \ --header 'bbot-api-key: <api-key>' \ --data ' { "checkpoint": { "thread_id": "<string>", "checkpoint_ns": "<string>", "checkpoint_id": "<string>", "checkpoint_map": {} }, "subgraphs": true } '
{ "values": [ {} ], "next": [ "<string>" ], "checkpoint": { "thread_id": "<string>", "checkpoint_ns": "<string>", "checkpoint_id": "<string>", "checkpoint_map": {} }, "metadata": {}, "created_at": "<string>", "tasks": [ { "id": "<string>", "name": "<string>", "error": "<string>", "interrupts": [ "<unknown>" ], "checkpoint": { "thread_id": "<string>", "checkpoint_ns": "<string>", "checkpoint_id": "<string>", "checkpoint_map": {} }, "state": "<unknown>" } ], "parent_checkpoint": {}, "interrupts": [ "<unknown>" ] }
Get state for a thread at a specific checkpoint.
API key for authentication
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
Unique identifier for the thread associated with this checkpoint.
Namespace for the checkpoint, used for organization and retrieval.
Optional unique identifier for the checkpoint itself.
Optional dictionary containing checkpoint-specific data.
Include subgraph states.
Success
Checkpoint config.