Skip to main content
POST
/
threads
/
{thread_id}
/
history
[
  {
    "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>"
    ]
  }
]

Path Parameters

thread_id
string<uuid>
required

The ID of the thread. The ID of the thread.

Body

application/json
limit
integer
default:1

The maximum number of states to return.

Required range: 1 <= x <= 1000
before
Before · object

Return states before this checkpoint.

metadata
Metadata · object

Filter states by metadata key-value pairs.

checkpoint
Checkpoint · object

Return states for this subgraph.

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[]