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
Contexts
Utils
optimisticId
isOptimistic
serializeMessage
enqueueJson
Thread ID storage
filesFieldAccept
Server
JavaScript
REST
Utils
Helper functions for building custom Superinterface React clients.
optimisticId
Generate temporary IDs for optimistic messages
isOptimistic
Check if an ID is optimistic
serializeMessage
Convert OpenAI messages into serializable form
enqueueJson
Stream JSON chunks
Thread ID storage
Helpers for storing thread IDs
filesFieldAccept
Accepted MIME types for file inputs
Status
Changelog
Terms of service
Privacy policy