Thesys Documentation home page
Search...
⌘K
Ask AI
Schedule a Demo
Discord
Get API Key
Get API Key
Search...
Navigation
Endpoints
Embed
Home
Fundamentals
Build Chatbots
Reference
Library
Developer Console
Discord
Get Support
API
API Overview
Models & Pricing
SDK Compatibility Matrix
API Changelog
API Versioning
Rate Limits
Errors
Endpoints
POST
Embed
POST
Visualize
Objects
Security & Compliance
React
Chat Component
Standalone Component
Theme Provider
Endpoints
Embed
Copy page
A LLM native endpoint that generates UI.
Copy page
POST
/
v1
/
embed
/
chat
/
completions
POST
https://api.thesys.dev/v1/embed/chat/completions
Drop in replacement for existing LLM endpoint that can be used to generate UI rather than text completions.
Supports tool calling for fetching external data.
Ability to steer semantic design via system prompts.
Visual customization via
Crayon
Request
Supports both
streaming
and
non-streaming
payloads.
Response
Returns
streaming chunks
in streaming mode or a
message
object in non-streaming mode.
Errors
Visualize
Assistant
Responses are generated using AI and may contain mistakes.