Skip to content

Checkpoints

Get Checkpoint Tuple
checkpoints.get_tuple(CheckpointGetTupleParams**kwargs) -> CheckpointGetTupleResponse
POST/checkpoints/get-tuple
Put Checkpoint
checkpoints.put(CheckpointPutParams**kwargs) -> CheckpointPutResponse
POST/checkpoints/put
Put Writes
checkpoints.put_writes(CheckpointPutWritesParams**kwargs)
POST/checkpoints/put-writes
List Checkpoints
checkpoints.list(CheckpointListParams**kwargs) -> CheckpointListResponse
POST/checkpoints/list
Delete Thread
checkpoints.delete_thread(CheckpointDeleteThreadParams**kwargs)
POST/checkpoints/delete-thread
ModelsExpand Collapse
class CheckpointGetTupleResponse: …
checkpoint: Dict[str, object]
checkpoint_id: str
checkpoint_ns: str
metadata: Dict[str, object]
thread_id: str
blobs: Optional[List[Blob]]
channel: str
type: str
version: str
blob: Optional[str]
parent_checkpoint_id: Optional[str]
pending_writes: Optional[List[PendingWrite]]
channel: str
idx: int
task_id: str
blob: Optional[str]
type: Optional[str]
class CheckpointPutResponse: …
checkpoint_id: str
checkpoint_ns: str
thread_id: str
List[CheckpointListResponseItem]
checkpoint: Dict[str, object]
checkpoint_id: str
checkpoint_ns: str
metadata: Dict[str, object]
thread_id: str
parent_checkpoint_id: Optional[str]