Skip to content

Delete Thread

checkpoints.delete_thread(CheckpointDeleteThreadParams**kwargs)
POST/checkpoints/delete-thread

Delete Thread

ParametersExpand Collapse
thread_id: str

Delete Thread

import os
from agentex import Agentex

client = Agentex(
    api_key=os.environ.get("AGENTEX_SDK_API_KEY"),  # This is the default and can be omitted
)
client.checkpoints.delete_thread(
    thread_id="thread_id",
)
Returns Examples