cURL
curl --request GET \ --url https://api.b-bot.space/api/v2/threads/{thread_id}/state \ --header 'bbot-api-key: <api-key>'
{ "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.
The latest state of the thread (i.e. latest checkpoint) is returned.
API key for authentication
The ID of the thread.
Whether to include subgraphs in the response.
Success
Checkpoint config.
Show child attributes