Chat With Advisor
AI Advisor
Chat With Advisor
Handle a chat request and return a structured AI advisor response.
Uses Mistral AI with the Scout personality to provide business insights.
Returns: AIAdvisorResponse: Advisor message, transaction metrics and summary, date range, optional warning, and timestamp.
Raises: HTTPException: with status 503 if AI backend (MISTRAL_API_KEY) is not configured; with status 500 for other internal errors.
POST
Chat With Advisor
Authorizations
JWT access token obtained from POST /v2/token.
Body
application/json
Required string length:
1 - 2000Maximum array length:
20Maximum array length:
100