Skip to main content

Virtual Assistants (/api/v1/bot)

RiskInMind provides several specialized AI Virtual Assistants (Bots) designed to handle specific financial queries and interactions. These bots leverage advanced LLMs via our internal bot service.

Chat with an Assistant

  • Method: POST
  • Endpoint: /api/v1/bot/:botName
  • Path Param: botNameava, erina, david, sean, or mark

Authentication

  • avaNo API key or token required (public entrypoint).
  • erina, david, sean, markRequired: X-API-Key or Bearer / cookie session (see Introduction).
  • Headers:
    • X-API-Key: <your_api_key> (Not required for ava)
    • Content-Type: application/json

Available Assistants

  • Ava: General financial assistant and navigation guide (unauthenticated).
  • Erina: Specialist in loan processing and documentation requirements.
  • David: Regulatory compliance and fair lending expert.
  • Sean: Commercial Real Estate (CRE) analysis specialist.
  • Mark: Consumer credit and risk factor analyst.

Request Body

ParameterTypeDescription
messageString(Optional) The current user message string.
messagesArray(Optional) Full message history with role and content properties.
{
"message": "What is the status of my loan application?",
"messages": [
{ "role": "user", "content": "Hello Ava" },
{ "role": "assistant", "content": "Hello! How can I help you today?" }
]
}

Response

  • Content-Type: application/json or text/plain depending on the bot config.
  • Returns: A string response from the specified AI assistant.