# delete_thread

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/sessions/delete_thread)

Delete thread checkpoints.

## Signature

```python
delete_thread(
    thread_id: str,
) -> bool
```

## Returns

`bool`

True if thread was deleted, False if not found.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a9e6e4f7ad7fe161dd9affc3d74bb19784aca70b/libs/cli/deepagents_cli/sessions.py#L994)