Superinterface logo
Superinterface
ProductPricingExamplesDocsBlog
GitHub
Discord
Book a demoSign in
Getting started
AI Provider Setup
FAQ
Assistants
Create assistant
Functions
Interfaces
Create interface
Interaction Modes
AI Builder
Publish interface
Components
Annotations
Concepts
Why Superinterface
How it works
Tasks
Overview
API reference
React
Installation
Components
Hooks
Assistants
Audio Runtimes
Audio Threads
Components
Files
Markdown
Messages
Threads
useSuperinterfaceContext
useThreadContext
useThreadDialogContext
Contexts
Utils
Server
JavaScript
REST

Threads

Hooks for accessing thread context.
useSuperinterfaceContextGet current Superinterface context
useThreadContextAccess context from Thread.Root
useThreadDialogContextControl ThreadDialog state