Millisa Agent Chat
Model:
🔐

Account Required to Generate API Keys

To generate custom Millisa API Keys (mls_live_...), monitor your quotas, and connect apps, please sign in or create a free developer account.

Developer Integration Hub

API Version: v1 OpenAI & Gemini Unified

Complete architectural guides, copy-paste SDK implementations, and live endpoint testing for Web, Android, and iOS applications.

🚀 Quickstart Overview

Millisa is an intelligent AI Gateway that acts as a secure bridge between your client applications and upstream AI models (Google Gemini and OpenAI). Instead of hardcoding master API keys in client apps, you issue scoped Millisa API Keys (mls_live_...) with customized quotas and rate limits.

Base API URL
https://millisa.codly.in/api/v1
Authentication Scheme
Bearer mls_live_YOUR_KEY

Authentication Headers

All API requests must include your Millisa API Key in the Authorization HTTP header:

Standard HTTP Headers
Authorization: Bearer mls_live_YOUR_MILLISA_API_KEY
Content-Type: application/json

📦 Pre-Built SDK Clients

Download drop-in ready client files for your mobile or web projects:

🌐 Web (JavaScript / TypeScript)

Standard fetch, async/await, and Server-Sent Events (SSE) streaming reader.

📥 Download MillisaClient.js

🤖 Android (Kotlin)

Modern Kotlin with OkHttp, Coroutines, StateFlow, and Jetpack Compose hooks.

📥 Download MillisaClient.kt

🍎 iOS (Swift 5.5+)

Swift Concurrency (async/await), URLSession, and SwiftUI chat bindings.

📥 Download MillisaClient.swift

Developer User Management

Super Admin View: View all registered developers, monitor API keys issued, and manage account statuses.

Registered Developers

Developer Role Keys Issued Total Calls Status Actions

Super Admin Master Key Vault

Securely configure your master OpenAI and Google Gemini API keys. These keys are kept safely on the server and are never revealed to developers or client apps.

🔑 Master AI Provider Keys

Obtain from Google AI Studio. Used for Gemini 1.5 Flash & Pro models.
Obtain from OpenAI Platform. Used for GPT-4o & GPT-4o-mini models.

🤖 Millisa Agent Persona & System Prompt

This prompt defines Millisa's behavior, personality, and tone across all endpoints.

⚙️ Defaults & Security