List threads from checkpoints table.
list_threads(
agent_name: str | None = None,
limit: int = 20,
include_message_count: bool = False,
sort_by: str = 'updated',
branch: str | None = None
) -> list[ThreadInfo]| Name | Type | Description |
|---|---|---|
agent_name | str | None | Default: NoneOptional filter by agent name. |
limit | int | Default: 20Maximum number of threads to return. |
include_message_count | bool | Default: FalseWhether to include message counts. |
sort_by | str | Default: 'updated'Sort field — |
branch | str | None | Default: NoneOptional filter by git branch name. |