Skip to main content

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.

PageDescription
QuickstartMake your first API call in under a minute
AuthenticationJWT, API keys, and publishable keys

Guides

Learn how to use each feature of the platform.

PageDescription
ConversationsThreads, messages, sync/async generation, and tool calling
Real-Time Streaming (coming soon)Live token-by-token responses over Firebase
Model RoutingPre-filter candidates by capability, cost, and modality
StorageFile upload/download, folders, metadata, and quota
NotificationsPush, in-app, email, SMS — channels, topics, workflows
Scheduled JobsCron, one-shot, and recurring-interval jobs with retry and auto-pause
Example: Building a Mobile AppEnd-to-end client integration — auth, chat, files, push
API KeysScopes, rate limits, rotation, and code examples

AI Agents

MCP tool calling, memory, and agent-specific capabilities.

PageDescription
MCP ToolsDiscover and call MCP tools, approve tool execution
MemorySemantic memory search, CRUD, and conversation integration

Advanced

Deeper topics on architecture and multi-tenancy.

PageDescription
ArchitectureRequest flow, component types, infrastructure, and deployment
Multi-TenancyFirebase Identity Platform, tenant isolation, and client app setup

Domain Map

DomainAPIBase PathRPCs
ConversationsLLM APIs/api/v1/llm/gateway/31
StorageStorage APIs/api/v1/storage/gateway/15
AuthAuthentication APIs/api/v1/api-keys/7
NotificationsNotification APIs/api/v1/notifications/49
SchedulerScheduler APIs/api/v1/scheduler/10

112 RPCs across 5 services. Browse the API Reference →