# ThreadListRuntime URL: /docs/api-reference/runtimes/thread-list-runtime Runtime for accessing and managing the list of threads. *** title: ThreadListRuntime description: Runtime for accessing and managing the list of threads. -------------------------------------------------------------------- import { ParametersTable } from "@/components/docs/tables/ParametersTable"; import { ThreadListRuntime, ThreadListState } from "@/generated/typeDocs"; ### Access via `useAssistantRuntime` You can access the thread list runtime via the assistant runtime: ```tsx import { useAssistantRuntime } from "@assistant-ui/react"; const threadListRuntime = useAssistantRuntime().threadList; ``` ### `useThreadList` This hook provides access to the thread list state: ```tsx import { useThreadList } from "@assistant-ui/react"; const threadList = useThreadList(); const threads = useThreadList((m) => m.threads); const isLoading = useThreadList((m) => m.isLoading); ```