Send Chat Message
Send a conversational message to the AI advocacy assistant. Supports conversation history for multi-turn dialogues.
Pricing
$0.25 per request (Pay As You Go plan).
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Send Chat Message › Request Body
messageThe user's message
Previous conversation history for context
Send Chat Message › Responses
AI response
responseThe AI assistant's response
intentDetected intent of the conversation
Detect Message Intent
Classify a user message into one of the supported intents and extract relevant entities.
Supported Intents
CREATE_CONTENT— User wants to generate advocacy contentINVESTIGATE_COMPANY— User wants to research a companyRESEARCH_INDIVIDUAL— User wants an OSINT profile on a personLEGAL_HELP— User needs legal guidance for advocacy activitiesTRACK_ISSUES— User wants to monitor advocacy issuesGENERAL_CHAT— General conversation
Pricing
$0.10 per request (Pay As You Go plan).
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Detect Message Intent › Request Body
messageThe user message to classify
Detect Message Intent › Responses
Detected intent with extracted information
intentThe detected intent
Extracted entities relevant to the intent
confidenceConfidence score 0-1
Summarize Conversation
Compress older conversation history into a concise summary. Useful for maintaining context in long conversations while reducing token usage.
Pricing
$0.25 per request (Pay As You Go plan).
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Summarize Conversation › Request Body
Conversation messages to summarize (minimum 2)
Summarize Conversation › Responses
Conversation summary
summaryConcise summary of the conversation
Extract User Memory
Extract user preferences and context from a completed conversation. Called once per conversation on close/abandon. Extracts non-PII facts like organization, cause areas, role, and research topics.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Extract User Memory › Responses
Memory extraction result