AI Chat
POST /api/v1/ai/chat
Send a message to the AI financial coach. Returns a streamed response. Subject to monthly AI rate limits based on subscription tier.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
User message to the AI coach
Example
How can I optimize my savings rate for FIRE?Existing conversation ID for follow-up messages
AI coach category for context
Example
fi-planningResponses
Section titled “ Responses ”AI chat response (streamed SSE)
object
object
Conversation ID for follow-up messages
AI response text
Validation error
object
Always false for error responses
Error type
Example
Validation errorMachine-readable error code
Example
VALIDATION_ERRORDetailed validation errors
object
Path to the invalid field
Example
currentAgeError message
Example
Must be between 18 and 100Unauthorized
object
Always false for error responses
Error type
Example
Validation errorMachine-readable error code
Example
VALIDATION_ERRORDetailed validation errors
object
Path to the invalid field
Example
currentAgeError message
Example
Must be between 18 and 100AI rate limit exceeded
object
Always false for error responses
Error type
Example
Validation errorMachine-readable error code
Example
VALIDATION_ERRORDetailed validation errors
object
Path to the invalid field
Example
currentAgeError message
Example
Must be between 18 and 100