CLI handler for deepagents threads list.
Fetches and displays a table of recent conversation threads, optionally filtered by agent name or git branch.
list_threads_command(
agent_name: str | None = None,
limit: int | None = None,
sort_by: str | None = None,
branch: str | None = None,
verbose: bool = False,
relative: bool | None = None,
*,
output_format: OutputFormat = 'text'
) -> None| Name | Type | Description |
|---|---|---|
agent_name | str | None | Default: NoneOnly show threads belonging to this agent. When |
limit | int | None | Default: NoneMaximum number of threads to display. When |
sort_by | str | None | Default: NoneSort field — When |
branch | str | None | Default: NoneOnly show threads from this git branch. |
verbose | bool | Default: FalseWhen |
relative | bool | None | Default: NoneShow timestamps as relative time (e.g., '5m ago'). When |
output_format | OutputFormat | Default: 'text'Output format — |