Platform Overview
Travila is a multi-tenant backend for conversational AI applications. It handles text interactions (voice is in progress), file storage, outbound webhooks, multi-channel notifications, and third-party integrations — all with per-tenant isolation and durable execution via Restate.
All API contracts are defined in Protocol Buffers. Every endpoint follows the same pattern: POST /api/v1/<domain>/<service>/<method> with a JSON body.
Getting Started
Get up and running quickly.
| Page | Description |
|---|---|
| Quickstart | Make your first API call in under a minute |
| Authentication | JWT, API keys, and publishable keys |
Guides
Learn how to use each feature of the platform.
| Page | Description |
|---|---|
| Conversations | Threads, messages, sync/async generation, and tool calling |
| Real-Time Streaming (coming soon) | Live token-by-token responses over Firebase |
| Model Routing | Pre-filter candidates by capability, cost, and modality |
| Storage | File upload/download, folders, metadata, and quota |
| Notifications | Push, in-app, email, SMS — channels, topics, workflows |
| Scheduled Jobs | Cron, one-shot, and recurring-interval jobs with retry and auto-pause |
| Example: Building a Mobile App | End-to-end client integration — auth, chat, files, push |
| API Keys | Scopes, rate limits, rotation, and code examples |
AI Agents
MCP tool calling, memory, and agent-specific capabilities.
| Page | Description |
|---|---|
| MCP Tools | Discover and call MCP tools, approve tool execution |
| Memory | Semantic memory search, CRUD, and conversation integration |
Advanced
Deeper topics on architecture and multi-tenancy.
| Page | Description |
|---|---|
| Architecture | Request flow, component types, infrastructure, and deployment |
| Multi-Tenancy | Firebase Identity Platform, tenant isolation, and client app setup |
Domain Map
| Domain | API | Base Path | RPCs |
|---|---|---|---|
| Conversations | LLM APIs | /api/v1/llm/gateway/ | 31 |
| Storage | Storage APIs | /api/v1/storage/gateway/ | 15 |
| Auth | Authentication APIs | /api/v1/api-keys/ | 7 |
| Notifications | Notification APIs | /api/v1/notifications/ | 49 |
| Scheduler | Scheduler APIs | /api/v1/scheduler/ | 10 |
112 RPCs across 5 services. Browse the API Reference →