Create a new assistant
Creates a new assistant with the provided configuration.
Authorizations
Use JWT token for authentication
Body
Assistant name
"Customer Support Assistant"
Assistant description
System prompt / instructions
Default LLM model
Default LLM provider
Image URL for the assistant
Assistant state
active, inactive, coming_soon Tool group UIDs the assistant can use
Explicit subset of enabled tool names
Access configuration
Widget configuration
Memory documents for RAG
Structured output JSON schema configuration
Guardrails configuration
Code snippet IDs
Skill IDs the assistant can use
Subagent IDs the assistant can invoke
Maximum chat messages in context
Maximum input tokens for tool responses
Response
Assistant created successfully
Assistant ID
Unique identifier
Assistant name
Assistant description
System prompt / instructions
Default LLM model
Default LLM provider
Image URL
Assistant state
Creation timestamp in milliseconds
Last edit timestamp in milliseconds