GET
/
threads
/
{thread_id}
/
history
Get Thread History
curl --request GET \
  --url https://api.b-bot.space/v2/threads/{thread_id}/history
[
  {
    "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>"
    ]
  }
]

Path Parameters

thread_id
string<uuid>
required

The ID of the thread.

Query Parameters

limit
integer
default:10
before
string

Response

200
application/json

Success

The response is of type ThreadState · object[].