Skip to main content
Assistants are the core conversational entities in IllumiChat. Each assistant has its own system prompt and optional connections to knowledge base projects for retrieval-augmented generation (RAG). All assistants use the same AI model.

Assistant Configuration

Visibility Levels

visibility governs access to the assistant in the internal Chat workspace only — it has no effect on the embeddable widget. Widget access is controlled entirely by widgetEnabled, independent of visibility.

List Assistants

Returns assistants accessible to the authenticated user within a workspace. Uses offset-based pagination.
Response 200 OK

Create Assistant

Creates a new assistant in the workspace. Requires owner or admin role.
Response 201 Created with the full assistant object.

Get Assistant

Retrieves a single assistant by ID.
Response 200 OK with the full assistant object including instructions, temperature, maxTokens, visibility, welcomeMessage, widgetEnabled, projectCount, and timestamps.

Update Assistant

Updates an assistant’s configuration. Requires owner or admin role. All fields are optional; only provided fields are updated.
Response 200 OK with the updated assistant object.

Delete Assistant

Permanently deletes an assistant and all its conversations. Requires owner or admin role.
Response 204 No Content
Deleting an assistant permanently removes all associated conversations, widget sessions, and SMS configurations. This action cannot be undone.

Project Connections (RAG)

Assistants can be connected to projects to enable retrieval-augmented generation. When a user sends a message, the assistant searches connected projects for relevant context and includes it in the prompt.
Projects contain documents that are chunked, embedded, and stored in a vector database (Pinecone). Connecting a project to an assistant gives it access to that knowledge base during conversations.

List Assistant Projects

Response 200 OK

Connect Project

Response 201 Created

Disconnect Project

Response 204 No Content

SMS Configuration

Assistants can be configured to send and receive SMS messages via Twilio. Each assistant has its own Twilio credentials using a bring-your-own-key (BYOK) model.

Get SMS Config

Requires admin role or above.
Response 200 OK

Update SMS Config

Delete SMS Config

Response 204 No Content

Test SMS Credentials

Validates the provided Twilio credentials without saving them.
Response 200 OK

Get SMS Analytics

Response 200 OK
After configuring SMS, set the Twilio webhook URL to the value returned in the webhookUrl field of the SMS config response. This URL handles inbound messages from your customers.