AI-powered customer support with conversation history tracking and context awareness
Submit customer queries and get AI-powered responses with context awareness.
{
POST /api/customer-support
Submit customer queries and get AI-powered responses with context awareness.
Request Format:
{
"message": "Your question here",
"email": "customer@example.com",
"name": "Customer Name"
}
Response Format:
{
"status": "success",
"response": "AI generated response to your query...",
"timestamp": "2025-04-11T15:45:00.000Z",
"inquiryId": "unique-id",
"sources": [
{
"filename": "source-document.md",
"score": 0.75
}
]
}
Check the system status and performance metrics.
{
"status": "ok",
"timestamp": "2025-04-11T15:45:00.000Z",
"environment": "production",
"customerCount": 42,
"cacheStats": {
"size": 156,
"valid": 150
}
}
Send a test query to the API directly from your browser: