# ThreadInfo

> **Class** in `deepagents_cli`

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

Thread metadata returned by `list_threads`.

## Signature

```python
ThreadInfo()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    thread_id: str,
    agent_name: str | None,
    updated_at: str | None,
    created_at: NotRequired[str | None],
    git_branch: NotRequired[str | None],
    initial_prompt: NotRequired[str | None],
    message_count: NotRequired[int],
    latest_checkpoint_id: NotRequired[str | None],
    cwd: NotRequired[str | None],
)
```

| Name | Type |
|------|------|
| `thread_id` | `str` |
| `agent_name` | `str \| None` |
| `updated_at` | `str \| None` |
| `created_at` | `NotRequired[str \| None]` |
| `git_branch` | `NotRequired[str \| None]` |
| `initial_prompt` | `NotRequired[str \| None]` |
| `message_count` | `NotRequired[int]` |
| `latest_checkpoint_id` | `NotRequired[str \| None]` |
| `cwd` | `NotRequired[str \| None]` |


## Properties

- `thread_id`
- `agent_name`
- `updated_at`
- `created_at`
- `git_branch`
- `initial_prompt`
- `message_count`
- `latest_checkpoint_id`
- `cwd`

---

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