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

Authorizations

bbot-api-key
string
header
required

API key for authentication

Path Parameters

thread_id
string<uuid>
required

The ID of the thread.

Query Parameters

limit
integer
default:10
before
string

Response

Success

values
object
required
  • Values · object[]
  • Values · object
next
string[]
required
checkpoint
Checkpoint · object
required

Checkpoint config.

metadata
Metadata · object
required
created_at
string
required
tasks
Tasks · object[]
parent_checkpoint
Parent Checkpoint · object
interrupts
any[]