FrootAI — AmpliFAI your AI Ecosystem Get Started

REST API

Agent FAI — REST API

6 endpoints powering the FrootAI chatbot, play search, and cost estimation.

Base URL:

API Base
https://frootai-chatbot-api.azurewebsites.net
POST/api/chat

Send a message to Agent FAI (non-streaming)

Request

{ "message": "How do I build a RAG pipeline?", "history": [...] }

Response

{ "reply": "For RAG pipelines, use Play 01..." }
POST/api/chat/stream

SSE streaming response from Agent FAI (GPT-4.1)

Request

{ "message": "Compare Play 01 vs 09", "history": [...] }

Response

data: {"content":"For"}
data: {"content":" RAG"}
...
data: [DONE]
POST/api/search-plays

Semantic search across solution plays

Request

{ "query": "document processing" }

Response

{ "results": [{ "id": "06", "name": "Document Intelligence", "score": 0.92 }] }
POST/api/estimate-cost

Estimate monthly Azure cost for a solution play

Request

{ "play": "01", "scale": "dev" }

Response

{ "play": { "id": "01", "name": "Enterprise RAG" }, "scale": "dev", "items": [...], "total": 245 }
GET/api/health

Health check endpoint

Request

N/A

Response

{ "status": "ok", "version": "3.0.1" }
GET/api/plays

List all solution plays with metadata

Request

N/A

Response

{ "plays": [{ "id": "01", "name": "Enterprise RAG", "status": "Ready" }, ...] }