Update AI Prompt
PATCH /accounts/:id/settings/prompt
Configure how the AI communicates. There are two modes:
Guided Mode
Configure individual sections that get combined into the final prompt:string
required
Set to
guidedstring
Who the AI is (e.g., “You are a friendly loan coordinator at ”)
string
Communication style (e.g., “Professional but warm. Use simple language.”)
string
Format and structure (e.g., “Keep messages under 160 characters when possible.”)
string
Behavioral constraints (e.g., “Never discuss interest rates.”)
string
Specific actions (e.g., “Flag financial hardship mentions for human review.”)
Advanced Mode
Full prompt override — you control the entire system prompt:In both modes, checklist requirements and company context are automatically appended to the prompt. You don’t need to include document collection instructions manually.
Upload Context File
POST /accounts/:id/context/files
Upload knowledge base files (.txt, .md) that the AI references during conversations. Max 100KB per file.
201 Created
List Context Files
GET /accounts/:id/context/files
Delete Context File
DELETE /accounts/:id/context/files/:file_id
Add Context URL
POST /accounts/:id/context/urls
Point the AI at a web page. The content is scraped and kept in sync — if the page updates, the AI’s knowledge updates automatically.
201 Created
List Context URLs
GET /accounts/:id/context/urls
Delete Context URL
DELETE /accounts/:id/context/urls/:url_id