Superinterface
Product
Pricing
Examples
Docs
Blog
GitHub
Discord
Book a demo
Sign in
Menu
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
useAssistant
Audio Runtimes
Audio Threads
Components
Files
Markdown
Messages
Threads
Contexts
Utils
Server
JavaScript
REST
useAssistant
Fetch assistant metadata by ID.
import
{
useAssistant
}
from
'
@superinterface/react
'
const
{
assistant
,
isLoading
}
=
useAssistant
(
{
assistantId
:
'
asst_123
'
}
)
Arguments
Parameter
Type
Description
assistantId
string
ID of the assistant
Returns
Includes
assistant
plus all fields from
useQuery
.
Status
Changelog
Terms of service
Privacy policy