Chat

Send Message

Send a message in a chat session and receive an AI response. Loads the user's financial context, calls the AI, and stores both messages.

post/api/chat/sessions/{session_id}/messages

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/chat/sessions/{session_id}/messages
  • Auth: HTTP bearer

Path parameters

session_idstring required

Request body

contentstring required

Response

Successful Response

idstring required
rolestring required
contentstring required
tokens_usedinteger required
created_atstring required
tool_callsobject[] nullable
model_usedstring nullable
complexity_detectedstring nullable
routing_reasonstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.