BankRegX API Documentation

1️⃣ Ask AI a Compliance Question

POST /api/ask

Description: Submit a compliance-related query to the AI chatbot and receive a response.

📌 Request Body (JSON):

{
  "query": "What are the Basel III regulations?",
  "userId": "user_12345"
}

📌 Response Example:

{
  "answer": "Basel III is a set of international banking regulations aimed at improving financial stability."
}