Skip to content

Checkpoints

Get Checkpoint Tuple
client.checkpoints.getTuple(CheckpointGetTupleParams { thread_id, checkpoint_id, checkpoint_ns } body, RequestOptionsoptions?): CheckpointGetTupleResponse { checkpoint, checkpoint_id, checkpoint_ns, 5 more } | null
POST/checkpoints/get-tuple
Put Checkpoint
client.checkpoints.put(CheckpointPutParams { checkpoint, checkpoint_id, thread_id, 4 more } body, RequestOptionsoptions?): CheckpointPutResponse { checkpoint_id, checkpoint_ns, thread_id }
POST/checkpoints/put
Put Writes
client.checkpoints.putWrites(CheckpointPutWritesParams { checkpoint_id, thread_id, writes, 2 more } body, RequestOptionsoptions?): void
POST/checkpoints/put-writes
List Checkpoints
client.checkpoints.list(CheckpointListParams { thread_id, before_checkpoint_id, checkpoint_ns, 2 more } body, RequestOptionsoptions?): CheckpointListResponse { checkpoint, checkpoint_id, checkpoint_ns, 3 more }
POST/checkpoints/list
Delete Thread
client.checkpoints.deleteThread(CheckpointDeleteThreadParams { thread_id } body, RequestOptionsoptions?): void
POST/checkpoints/delete-thread
ModelsExpand Collapse
CheckpointGetTupleResponse { checkpoint, checkpoint_id, checkpoint_ns, 5 more }
checkpoint: Record<string, unknown>
checkpoint_id: string
checkpoint_ns: string
metadata: Record<string, unknown>
thread_id: string
blobs?: Array<Blob>
channel: string
type: string
version: string
blob?: string | null
parent_checkpoint_id?: string | null
pending_writes?: Array<PendingWrite>
channel: string
idx: number
task_id: string
blob?: string | null
type?: string | null
CheckpointPutResponse { checkpoint_id, checkpoint_ns, thread_id }
checkpoint_id: string
checkpoint_ns: string
thread_id: string
CheckpointListResponse = Array<CheckpointListResponseItem>
checkpoint: Record<string, unknown>
checkpoint_id: string
checkpoint_ns: string
metadata: Record<string, unknown>
thread_id: string
parent_checkpoint_id?: string | null