# Sovaria > Sovaria is a backend platform for web and mobile apps: every project gets a Postgres database, user sign-in, file storage, server functions, realtime, a JSON document store and vector search behind one API, plus Sovariq, an AI engineer that builds and runs the backend with you. Every request is checked against your access rules before it reaches data, and every change to rules, tables or functions can be simulated on a copy of the project first and undone from a timeline afterwards. Everything below in one file: https://sovaria.in/llms-full.txt. Each docs page is also available as Markdown at its URL plus .md. ## About and pricing - [About Sovaria](https://sovaria.in/about): what Sovaria is, every product, pricing and the company (Sovaria Technologies Private Limited, India). - [Pricing](https://sovaria.in/pricing): plans, allowances and usage rates in USD and INR (from the live price list, 2026-11-25). - Free: $0, 1 project, 500 MB database, 5,000 MAU, 1 GB files, 2 GB bandwidth, paused after 7 days without activity - Pro: $29 a month (₹2,599 in India), 1 project, 8 GB database, 50,000 MAU, 20 GB files, 20 GB bandwidth - Ultra: $99 a month (₹9,999 in India), 10 projects, 25 GB database, 200,000 MAU, 100 GB files, 60 GB bandwidth - Team: $599 a month (₹49,999 in India), 100 projects, 100 GB database, 500,000 MAU, 500 GB files, 400 GB bandwidth - Enterprise: custom contract - Customers billed in India pay the fixed rupee prices above (UPI or card autopay); everyone else pays in US dollars. - Usage past a paid plan’s allowance is billed at published rates; Free stops at its limits instead of billing. ## Products - [Database](https://sovaria.in/platform/atlas-rel): A Postgres 16 database for each project, with a table editor, SQL editor, migrations, row-level security, extensions and a REST API that supabase-js works with. Docs: https://sovaria.in/docs/database - [Documents](https://sovaria.in/platform/atlas): JSON documents in collections, with queries, transactions, live listeners, offline sync and a Firestore-compatible SDK. Docs: https://sovaria.in/docs/documents-overview - [Authentication](https://sovaria.in/platform/axis): Sign-in for your app’s users: email and password, magic links and codes, Google, GitHub, Apple and other providers, passkeys, multi-factor authentication and SSO. Docs: https://sovaria.in/docs/auth-overview - [Access policies](https://sovaria.in/platform/guard): Rules checked on every request with default deny, on top of Postgres row-level security, for tables, documents, files, channels and functions. Docs: https://sovaria.in/docs/security-and-policies - [Storage](https://sovaria.in/platform/vault): File buckets with per-folder access rules, public and signed URLs, resumable uploads and an S3-compatible API. Docs: https://sovaria.in/docs/storage-overview - [Functions](https://sovaria.in/platform/forge): Server code in Python, JavaScript, TypeScript or Go that you deploy and call over HTTPS, with secrets, versions, schedules, triggers and logs. Docs: https://sovaria.in/docs/functions-overview - [Realtime](https://sovaria.in/platform/pulse): Channels, presence and live database changes over WebSockets, with encrypted channels when you need them. Docs: https://sovaria.in/docs/realtime-overview - [Vector search](https://sovaria.in/docs/vector-search): pgvector in your project’s Postgres, with hybrid search, automatic embeddings and knowledge bases for retrieval-augmented generation. Docs: https://sovaria.in/docs/vector-search - [Simulation](https://sovaria.in/platform/echo): Check who can read and change what across tables, documents, storage, realtime and functions, and preview a change on a copy of the project before it ships. Docs: https://sovaria.in/docs/simulation - [Version history](https://sovaria.in/platform/chrono): A timeline of every change to policies, tables, functions, settings, buckets and keys: see what a change did, undo it, or take the project back to an earlier point. Docs: https://sovaria.in/docs/version-history - [Sovariq AI](https://sovaria.in/sovariq): An AI engineer in the console that builds whole apps (pages, tables with row rules, roles and functions, tested in a browser and published) and plans any change, shows every step, asks before it writes and checks the result, plus agents you can build into your own app. Docs: https://sovaria.in/docs/sovariq-and-agents ## Everything a project includes - [Features](https://sovaria.in/features): every product in a Sovaria project, grouped, with the page that explains each. ### Data - [Postgres database](https://sovaria.in/platform/atlas-rel): A Postgres 16 database for each project, with a table editor, a SQL editor and migrations. REST and GraphQL APIs from your schema; supabase-js works for tables and RPC; Row-level security and extensions. - [Documents](https://sovaria.in/platform/atlas): JSON documents in collections, under the same sign-in and rules as your tables. Queries, transactions and live listeners; Offline sync on web and mobile; A Firestore-style API. - [Vector search and knowledge bases](https://sovaria.in/docs/vector-search): pgvector in your project’s Postgres, with hybrid search and automatic embeddings. Search by meaning, exact words or both; Embeddings kept up to date for chosen columns; Knowledge bases with citations, under row-level security. - [Change capture](https://sovaria.in/docs/realtime-database-changes#capture): Writes made over a direct Postgres connection reach realtime and database webhooks too. psql, ORMs and migrations included; Every table, or the ones you pick; One switch in the SDKs and the console. - [Backups and point-in-time recovery](https://sovaria.in/docs/backups-and-recovery): Daily encrypted backups, and recovery to any moment in the window. Recovered beside production, checked before it is switched in; Point-in-time recovery on dedicated databases; Backups under your own key (BYOK). - [Branches and previews](https://sovaria.in/docs/branches-and-previews): A copy of the whole project with its own database, to change safely and deploy when ready. Start from the structure, a checkpoint of the data, or empty; Preview environments for pull requests; Snapshots you can go back to. ### Sign-in and access - [Authentication](https://sovaria.in/platform/axis): Sign-in for your app’s users, with sessions you control. Email and password, magic links and codes, phone; Google, GitHub, Apple and other providers; Passkeys and multi-factor authentication. - [Enterprise sign-in](https://sovaria.in/docs/saml-sso): Let your customers’ companies sign in with their own identity provider. SAML single sign-on; SCIM user provisioning; Organizations inside your app. - [App roles and user admins](https://sovaria.in/docs/users-and-roles#roles-sdk): Your own roles (MANAGER, REP…) for your app’s users, read by your row rules. Define and assign roles from the SDK; Admins in your app manage users with their own sign-in; The server re-reads roles on every call. - [Access policies](https://sovaria.in/platform/guard): Rules checked on every request with default deny, on top of row-level security. Tables, documents, files, channels and functions; Rate limits per user and per IP; Security Advisor flags gaps. - [Simulation and rules tests](https://sovaria.in/platform/echo): See who can read and change what before a rule or schema change ships. Each app role, visitors and your team, with every step explained; Try a rule change on one request before saving it; Rules tests that fail a pull request. - [Version history](https://sovaria.in/platform/chrono): A timeline of every change to policies, tables, functions, settings, buckets and keys. See what a change did; Undo one change; Take the project back to an earlier point. ### Files, code and realtime - [Storage](https://sovaria.in/platform/vault): File buckets with per-folder access rules, public and signed URLs. Resumable uploads for large files; Image transforms on the fly; An S3-compatible API and malware scanning. - [Functions](https://sovaria.in/platform/forge): Server code in Python, JavaScript, TypeScript or Go, called over HTTPS. Call a function by its name or its id; Versions, rollback and pinned API versions; Secrets per environment, logs per run. - [Flows](https://sovaria.in/docs/flows): Automations built from a trigger and steps on a canvas in the console, run on your backend. Webhook, schedule, event and form triggers; every webhook checks its caller; Steps with expressions, branches, approvals and retries; Every run kept with each step’s input and output. - [Background work](https://sovaria.in/docs/function-triggers): Run code on a schedule, on an event, or from a queue. Cron schedules and queues; Triggers on database, auth, storage and realtime events; Durable workflows and database webhooks. - [Realtime](https://sovaria.in/platform/pulse): Channels, presence and live database changes over WebSockets. Broadcast and presence; Database changes as they happen; Encrypted channels (Sovaria-managed keys). ### Mobile and growth - [Mobile SDKs](https://sovaria.in/docs/mobile-overview): Native SDKs for Flutter, Swift and Kotlin, with sign-in, data, storage and realtime. Provider sign-in and email links that open your app; Offline data on the device; App attestation. Beta: The Dart, Swift and Kotlin packages are not in pub.dev, Swift Package Index or Maven Central yet. - [Push and messaging](https://sovaria.in/docs/messaging): Push and email to your app’s users from one API. Templates with variables; Audiences written in SQL, previewed before a send; Opt-outs and a delivery log. - [Analytics, crashes and performance](https://sovaria.in/docs/product-analytics): Product events, crash reports and app performance in the console. Active users, funnels and retention, queryable in SQL; Crashes grouped into issues, per release; App start, screens and every API call timed. - [Remote config and experiments](https://sovaria.in/docs/remote-config): Change how your app behaves without a new release, and test it on a share of users. Targeted by platform, version, country or a percentage; A/B experiments measured on your events; Versions, rollback and live updates. - [Tester builds](https://sovaria.in/docs/tester-distribution): Share APK and IPA builds with invited testers before they ship. Groups and email invites; Install links that stop working when you remove someone; Uploads from the CLI or CI. ### AI - [Sovariq](https://sovaria.in/sovariq): An AI engineer in the console that plans a change, asks before it writes and checks the result. Builds whole apps from a description; Works with your role and your rules; Every step in the audit log. - [App builder](https://sovaria.in/docs/frontends): React apps built on your backend, previewed live, tested in a browser and published. Templates, a component kit and Sovaria blocks; A safety check and rollback to the last safe version; Your own domain with HTTPS. - [Agents in your app](https://sovaria.in/docs/agents): AI agents your users talk to, with tools that run under your access rules. On your own model account; Versions you can compare and roll back; A model gateway with fallbacks and a cache. - [Hosted MCP server](https://sovaria.in/docs/mcp): Connect Claude, ChatGPT, Cursor or VS Code to your project at api.sovaria.in/mcp. Sign in and pick the project; Read-only, or read and write; Asks before it changes anything. - [Sovariq for Chrome](https://sovaria.in/docs/sovariq-for-chrome): Sovariq in a Chrome side panel, beside the page you are working on. Signed in with your Sovaria account; Reads only the sites you allow; Asks before anything final. Beta: Installed from sovaria.in; the Chrome Web Store listing is pending. ### Run and move - [Logs, traces and alerts](https://sovaria.in/docs/logs-and-log-drains): API, auth, database and function logs with a trace for every request. Log drains to your own tools; Email or webhook alerts when the API slows or errors climb; Request traces across services. - [Compliance center](https://sovaria.in/docs/compliance-center): Evidence for your own audits, built from the live platform when you download it. Audit-log check, backups, access and Security Advisor findings in one ZIP; Audit log export as CSV; HIPAA mode with a BAA on Enterprise. - [Audit log](https://sovaria.in/docs/audit-logs): An append-only, hash-chained record of important actions. Search by who, what and when; sov audit verify checks the chain; Evidence packs for your auditors. - [Organizations and environments](https://sovaria.in/docs/organizations): Organizations, projects, team roles, and staging next to production. Team roles with MFA you can require; Staging and API version environments; Spend caps and usage per project. - [Imports](https://sovaria.in/docs/cli-import): Move a Supabase, Firebase, Convex or Postgres project with one command. Users keep their passwords; Schema, data, users and files; A dry run shows everything first. - [Integrations](https://sovaria.in/docs/integrations): Slack, GitHub, Vercel, AI providers, email providers, Zapier and log drains. Deploy functions on push from GitHub; Alerts to Slack, Discord or Teams; Bring your own AI or email provider. ## Developers and security - [SDKs and CLI](https://sovaria.in/sdks): the TypeScript, Python, Dart, Swift and Kotlin SDKs and the sov CLI. - JavaScript and TypeScript: `npm install @sovaria/sdk`. Browsers, Node.js 18+, Deno, Bun, edge runtimes and React Native. Docs: https://sovaria.in/docs/javascript-setup - Python: `pip install sovaria-sdk`. Python 3.11+, async and sync clients; Flask, Django and FastAPI. Docs: https://sovaria.in/docs/python-setup - Dart and Flutter (beta): `flutter pub add sovaria flutter_secure_storage`. Flutter on iOS, Android, web and desktop, and plain Dart. Docs: https://sovaria.in/docs/mobile-flutter - Swift (beta): `.package(url: "https://github.com/sovaria/sovaria-swift.git", from: "1.0.0")`. iOS, iPadOS, macOS and the other Apple platforms. Docs: https://sovaria.in/docs/mobile-swift - Kotlin (beta): `implementation("in.sovaria:sovaria:1.0.0")`. Android and the JVM. Docs: https://sovaria.in/docs/mobile-kotlin - sov CLI: `pipx install sovaria-cli`. macOS, Linux and Windows with Python 3.11+, and CI. Docs: https://sovaria.in/docs/cli-guide - [Security and compliance](https://sovaria.in/security): default-deny access checks, customer isolation, encryption, backups, signed builds, the tests we run and where compliance stands (no SOC 2 or ISO 27001 certification yet). - [Trust center](https://sovaria.in/trust): SOC 2 in progress (readiness, no audit yet) and ISO 27001 readiness, control by control. - [Security questionnaire answers](https://sovaria.in/docs/security-questionnaire): pre-filled CAIQ-Lite and SIG Lite style answers, with unknowns marked; [shared responsibility](https://sovaria.in/docs/shared-responsibility): what Sovaria secures and what you secure. ## API for agents and tools - [OpenAPI 3.1](https://api.sovaria.in/openapi.json): the complete public HTTP API, generated from the same source as the HTTP reference — operation ids, "When to use", request and response schemas, examples, typed errors and `x-sovaria-risk` (read, write, destructive) on every operation. - [OpenAPI 3.2](https://api.sovaria.in/openapi-3.2.json): the same API, with HTTP QUERY (RFC 10008) reads of `/rest/v1/` as `query` operations. - [Arazzo workflows](https://api.sovaria.in/arazzo.json): common multi-step flows over those operation ids. - [Hosted MCP server](https://api.sovaria.in/mcp): OAuth, MCP 2026-07-28 and 2025-06-18; add `?mode=code` for MCP code mode: two tools (`search_api`, `execute`) instead of the full tool list. ## Compare - [Compare Sovaria](https://sovaria.in/compare): Sovaria next to Supabase, Firebase, Convex and Neon. - [Sovaria vs Supabase](https://sovaria.in/compare/supabase): Sovaria and Supabase compared: Postgres, supabase-js support, documents, access simulation, undo, functions, open source, and pricing in USD and INR. - [Sovaria vs Firebase](https://sovaria.in/compare/firebase): Sovaria and Firebase compared: documents and SQL, Firestore-compatible code, security rules, auth, functions, mobile services and pricing. - [Sovaria vs Convex](https://sovaria.in/compare/convex): Sovaria and Convex compared: SQL and documents vs reactive TypeScript functions, access rules, languages, open source and pricing. - [Sovaria vs Neon](https://sovaria.in/compare/neon): Sovaria and Neon compared: serverless Postgres vs a full backend with auth, storage, functions, realtime and access simulation, and how each bills. ## Switch to Sovaria - [Switch from Firebase to Sovaria](https://sovaria.in/migrate/firebase): Move Firestore, Auth users with their passwords and Storage to Sovaria with one command, with your security rules translated into a report. - [Switch from Supabase to Sovaria](https://sovaria.in/migrate/supabase): Import schema, RLS, users with their passwords, data and storage in one command. supabase-js keeps working against Sovaria. - [Switch from Neon or Postgres to Sovaria](https://sovaria.in/migrate/neon): Move a Neon, RDS or self-hosted Postgres and your users with their passwords in one command, then add auth, APIs, realtime and rules on top. - [Switch from Convex to Sovaria](https://sovaria.in/migrate/convex): Move Convex tables, Convex Auth users with their passwords and file storage to Sovaria with one command, and keep reactive queries with live listeners. - [Move a custom backend to Sovaria](https://sovaria.in/migrate/custom-backend): Replace your API server step by step: direct data access behind rules, functions for business logic, Sovaria Auth, storage, realtime and jobs. ## Solutions - [Sovaria for AI builders](https://sovaria.in/solutions/ai-builders): Let AI build your backend: migrations, access rules, functions and tests checked before they ship, plus vectors, knowledge bases, agents and an MCP server. - [Sovaria for startups](https://sovaria.in/solutions/startups): Postgres, documents, auth, storage, functions and realtime in one project. A free plan to start, templates to move fast, spend caps and INR pricing. - [Sovaria for enterprise](https://sovaria.in/solutions/enterprise): SAML SSO, custom roles, a tamper-evident audit log, access transparency, dedicated Postgres and default-deny policies you can prove with simulation. - [Sovaria for healthcare](https://sovaria.in/solutions/healthcare): HIPAA mode with a signed BAA: MFA for every member, shorter sessions, six-year audit logs and PHI project protections. - [Sovaria for fintech](https://sovaria.in/solutions/fintech): Default-deny access, row-level security, rules tests and simulation, a chained audit log, time travel and signed webhooks. - [Sovaria for B2B SaaS](https://sovaria.in/solutions/b2b-saas): Multi-tenant organizations, members and roles as a template, tenant-scoped row-level security, enterprise sign-in and auth hooks. - [Sovaria for mobile apps](https://sovaria.in/solutions/mobile-apps): Flutter, Swift and Kotlin SDKs, PKCE sign-in, FCM and APNs push, app attestation, crash reporting and offline-first data. - [Sovaria for agencies](https://sovaria.in/solutions/agencies): An organization per client, templates, staging, version history, team roles and Sovariq on every project. ## Docs: Getting started - [Introduction](https://sovaria.in/docs/introduction): What Sovaria gives every project, how your app talks to it, and where to start. - [Quickstart](https://sovaria.in/docs/quickstart): Create a project, make a table that each user only sees their own rows of, and sign users up and query it from your app. - [Connect your app](https://sovaria.in/docs/connect-your-app): Use your project URL and keys from browsers, mobile apps, servers and scripts — with sessions, environment variables and framework setup. - [App templates: SaaS, marketplace, chat](https://sovaria.in/docs/app-templates): Start from a working backend — tables with row-level security, storage buckets and their rules, realtime — applied to your project in one step, plus a React starter app wired to it. - [Build your app from a description](https://sovaria.in/docs/build-my-app): Describe your app to Sovariq: it writes the migration with row-level security, access rules, functions and rules tests, checks them on your project without changing it, and opens a pull request. - [Quickstart: Next.js](https://sovaria.in/docs/quickstart-nextjs): Build the notes app with the Next.js App Router: sign up and in from a client component, list and add notes as the signed-in user, and read them in a route handler with the user's own token. - [Quickstart: React (Vite)](https://sovaria.in/docs/quickstart-react): Build the notes app with React and Vite: a session hook, a sign-in form, and a list of the signed-in user's notes with an add box. - [Quickstart: React Native and Expo](https://sovaria.in/docs/quickstart-react-native): Build the notes app with Expo: keep the session in the device's secure store, sign in, and list and add the signed-in user's notes. - [Quickstart: Flutter](https://sovaria.in/docs/quickstart-flutter): Build the notes app in Flutter: initialise Sovaria with a secure session store, switch screens on sign-in, and list and add the signed-in user's notes. - [Quickstart: iOS (SwiftUI)](https://sovaria.in/docs/quickstart-ios): Build the notes app in SwiftUI: keep the session in the Keychain, follow sign-in state with auth.changes, and list and add the signed-in user's notes. - [Quickstart: Android (Jetpack Compose)](https://sovaria.in/docs/quickstart-android): Build the notes app with Kotlin and Jetpack Compose: keep the session in encrypted storage, follow sign-in state with auth.changes, and list and add the signed-in user's notes. - [Quickstart: SvelteKit](https://sovaria.in/docs/quickstart-sveltekit): Build the notes app with SvelteKit and Svelte 5: a client for the browser, sign-up and sign-in, and the signed-in user's notes with live updates. - [Quickstart: Node.js and Express](https://sovaria.in/docs/quickstart-express): Build a notes API with Express that signs users in through Sovaria and runs every query as the calling user, so your row rules apply on the server too. - [Quickstart: Python and FastAPI](https://sovaria.in/docs/quickstart-fastapi): Build a notes API with FastAPI that signs users in through Sovaria and runs every query as the calling user with the async Python SDK. - [Quickstart: Laravel (PHP)](https://sovaria.in/docs/quickstart-laravel): Use Sovaria from Laravel over the REST API: sign users up and in, keep their tokens in the Laravel session, and read and add their own notes with Laravel's HTTP client. - [Organizations and projects](https://sovaria.in/docs/projects-and-organizations): How organizations, members, roles, projects and environments fit together, and how to manage them in the console and CLI. - [API keys](https://sovaria.in/docs/api-keys): The anon, service role and custom keys: what each can do, where to use it, and how to rotate and revoke keys. ## Docs: Tutorials and migration - [Tutorial: build your first app with Sovariq](https://sovaria.in/docs/tutorial-build-first-app): Ask Sovariq for an ERP and follow it from the plan to a published app: a template to start from, six tables with row rules, app roles, a bucket and a function, the pages beside the chat and a browser test. - [Tutorial: prove your table is private before you ship](https://sovaria.in/docs/tutorial-secure-a-table): Take the Quickstart notes table, check who can read and change it with a simulation, catch a risky policy before it goes live, and make the check part of your deploys. - [Tutorial: a realtime chat with row-level security](https://sovaria.in/docs/tutorial-realtime-chat): Build chat rooms where only members read and post, new messages appear at once on every device, and nothing leaks to people outside a room: tables, row rules, a membership function, change events and a channel rule. - [Tutorial: a store with Stripe or Razorpay](https://sovaria.in/docs/tutorial-store-payments): Sell products with Stripe Checkout or Razorpay: prices that clients can't change, a checkout function, a public webhook function that confirms each payment with the provider before marking an order paid, and orders each customer can read. - [Tutorial: answer questions from your documents (RAG)](https://sovaria.in/docs/tutorial-rag-knowledge-base): Build a help-center assistant: load articles into a knowledge base, search it from your app with citations, add an agent that answers from it, and let each user add private files that only they can search. - [Tutorial: move a Supabase app to Sovaria](https://sovaria.in/docs/tutorial-migrate-from-supabase): A step-by-step move of a real Supabase app: dry run, import, check the data and the rules, keep your users' passwords, switch the app's client code, and plan the cut-over. - [Tutorial: move a Firebase app to Sovaria](https://sovaria.in/docs/tutorial-migrate-from-firebase): A step-by-step move of a Firebase app: export Auth with its password hashes, import Firestore and Storage, turn security rules into policies, keep your Firestore code with an import change, and move Cloud Functions. - [Migrate from Supabase or Firebase](https://sovaria.in/docs/migrate-from-supabase-or-firebase): Move a Supabase or Firebase project to Sovaria with one command: schema and row-level security, users who keep their passwords, data, documents, storage, and a report of anything that needs a look. - [supabase-js code on Sovaria](https://sovaria.in/docs/supabase-to-sovaria): Run supabase-js, -py, -swift, -kt and -dart code on Sovaria: what works unchanged (tables, rpc, auth, MFA, admin, storage, realtime, functions), typed clients, and the few deliberate differences. - [Firebase code on Sovaria](https://sovaria.in/docs/firebase-to-sovaria): Run Firestore (modular), Auth, Storage and callable-function code on Sovaria in every SDK: the same documents, queries, snapshots, batches, transactions and field transforms; how rules, auth and storage map. - [Migrate from Neon or PostgreSQL](https://sovaria.in/docs/migrate-from-postgres): Move Neon, RDS, Railway or any Postgres to Sovaria with one command (schema, data and your users with their passwords) or with pg_dump and psql, then lock it down, validate, cut over and roll back. - [Migrate from Convex](https://sovaria.in/docs/migrate-from-convex): Move a Convex deployment to Sovaria from its snapshot export: Convex Auth users with their passwords, every table as a document collection with ids kept, file storage, and how queries, mutations and actions map. - [Move a custom backend to Sovaria](https://sovaria.in/docs/migrate-from-a-custom-backend): Replace parts of your own API server with Sovaria step by step: which endpoints become direct data access, functions or stay on your server; auth, files, realtime, jobs and webhooks; and a checklist for each move. - [Case study: a 124k-row Supabase import](https://sovaria.in/docs/import-case-study): A movie-ratings Supabase project — 124,003 rows, 610 users with passwords, 1,610 files and row-level security — moved with one command, timed and verified. ## Docs: Database - [Database](https://sovaria.in/docs/database): Your project's Postgres database: create tables in the console, query them safely from your app, connect tools directly, and keep the schema under version control. - [Postgres in Sovaria](https://sovaria.in/docs/postgres-basics): The Postgres version and extensions your project has, schemas, data types, keys and constraints, views, functions and triggers, what the plan limits, and which Postgres features behave differently through the API. - [Table editor](https://sovaria.in/docs/table-editor): Create and change tables without SQL: columns and types, keys and relationships, row access presets, browsing, filtering, sorting and editing rows, and what happens when a write fails. - [SQL editor](https://sovaria.in/docs/sql-editor): Write and run SQL in the console: run, explain and dry-run modes, confirmations for changes, row limits and timeouts, saved, shared and private queries, templates, formatting and permissions. - [Migrations](https://sovaria.in/docs/migrations): Version your schema: migration files, how each one is applied and recorded, dry runs, schema plans (tables without writing SQL), rolling back, failures, working as a team, promoting from staging and running migrations from CI. - [Safe schema changes](https://sovaria.in/docs/safe-schema-changes): Change a live schema without breaking your app: adding, removing and renaming columns, changing types, indexes and constraints on large tables, backfilling data, locks and time limits, and planning for recovery. - [Table history (time travel)](https://sovaria.in/docs/table-history): Keep every version of a table's rows and query the table exactly as it was at any moment — joins, filters and all. - [Database functions](https://sovaria.in/docs/database-functions): Write SQL and PL/pgSQL functions, call them from SQL, REST and supabase-js, choose who they run as, use them in triggers and policies, and manage them under Schema › Functions. - [Triggers](https://sovaria.in/docs/database-triggers): Run a database function on every insert, update, delete or truncate: timing, row and statement triggers, NEW and OLD, conditions, turning triggers off, and how they compare to webhooks. - [Indexes](https://sovaria.in/docs/database-indexes): Speed up lookups, joins and sorting: when to add an index, the index types, multi-column, unique and partial indexes, reading size and scans, unused and invalid indexes, and building on large tables. - [Extensions](https://sovaria.in/docs/database-extensions): Add features to Postgres: every extension Sovaria offers and what it is for, turning extensions on and off, extensions that need a higher plan, and the ones that aren't available. - [Database webhooks](https://sovaria.in/docs/database-webhooks): Call your own HTTPS endpoint when rows are inserted, updated or deleted: setup, the payload, signatures and custom headers, retries and dead letters, the delivery log, replay, testing and limits. - [Index advisor and query insights](https://sovaria.in/docs/index-advisor): See which SQL statements cost your database the most time, and get indexes that are proven to make them cheaper before anything is built. - [Read replicas: what each plan gets (roadmap)](https://sovaria.in/docs/read-replicas-design): Read replicas exist today as connection strings; this is the plan for routing data-API reads to them, read-your-writes, lag limits and cross-region replicas, per plan. ## Docs: Documents - [Documents](https://sovaria.in/docs/documents-overview): Store JSON documents in collections, read them by id or list a collection, and control exactly who can see and change them. - [Collections in the console: tree, documents, fields and rules](https://sovaria.in/docs/collections-in-the-console): See every collection and subcollection as a tree, scan by collection or key prefix, add documents with typed fields or JSON, import JSON, JSON Lines or CSV, and set who may read, write and delete each collection. - [Firebase-style code (Firestore API)](https://sovaria.in/docs/firestore-compat): Keep your Firestore code: import from @sovaria/sdk/firestore instead of firebase/firestore and point it at your Sovaria project. - [Querying documents](https://sovaria.in/docs/document-queries): Filter collections by any field with AND / OR, query every subcollection with the same name (collection groups), sort, page with cursors, count, sum and average matches, and index what you query. - [Document pipelines](https://sovaria.in/docs/document-pipelines): Filter, group, aggregate, sort and reshape documents in one request — like Firestore pipelines — run inside your project's database as the caller. - [Vector search on documents](https://sovaria.in/docs/document-vector-search): Find the documents nearest to a vector (Firestore findNearest): cosine, euclidean or dot product, with filters first and an HNSW index for large collections. - [Transactions, batches and field transforms](https://sovaria.in/docs/document-transactions): Change many documents at once (all or nothing), read-then-write safely under concurrency, and update fields atomically on the server. - [Live listeners](https://sovaria.in/docs/live-listeners): Get a document or a query's results, then every change to them as it happens: added, modified and removed. - [Offline-first apps](https://sovaria.in/docs/offline-first): Keep reading, querying, listening and writing documents with no connection; everything syncs in order when it comes back. ## Docs: Authentication - [Authentication overview](https://sovaria.in/docs/auth-overview): Sign-in methods for your app users, how sessions work, and the settings that control them. - [Users and app roles](https://sovaria.in/docs/users-and-roles): See, add, invite, ban and delete your app’s users, give them app roles your rules check, manage them from your server, and test your rules as one of them. - [Sessions and tokens](https://sovaria.in/docs/sessions-and-tokens): How a signed-in session works: access and refresh tokens, automatic refresh and rotation, auth events in your app, devices, signing out everywhere, verifying tokens on your server and the session settings. - [User accounts: profile, password, identities](https://sovaria.in/docs/user-accounts): What a signed-in user can change themselves (metadata, email, password), confirming sensitive changes, turning anonymous users into permanent ones, linking sign-in methods, passwordless sign-up and native Apple / Google sign-in. - [Admin API (auth.admin)](https://sovaria.in/docs/auth-admin-api): Create, list, update, ban, invite and delete app users from your server code and generate sign-in, recovery and invite links: supabase's auth.admin in every SDK, with who may call it, limits and errors. - [Let your app's admins manage users (auth.users)](https://sovaria.in/docs/app-user-admins): An admin screen inside your own app: people with a role you choose add, list, re-role, disable and remove your app's users with their own sign-in, no server key. Every rule is checked by the server. - [Email and password](https://sovaria.in/docs/email-and-password): Sign users up, confirm their email, sign them in, and let them reset a forgotten password. - [Magic links and email codes](https://sovaria.in/docs/magic-links): Passwordless sign-in for existing users: one email carries a sign-in link and a 6-digit code, so people can sign in on the device that has the email or type the code on another. - [Social sign-in](https://sovaria.in/docs/social-sign-in): Let users sign in with Google, GitHub, Microsoft, Apple, Discord and other providers, or any OpenID Connect identity provider: setup at each provider, the sign-in flow on web and mobile, account linking and errors. - [Passkeys](https://sovaria.in/docs/passkeys): Sign users in with a passkey (WebAuthn / FIDO2): Face ID, Touch ID, Windows Hello, Android or a security key, with no password. Project setup, registering a passkey, signing in, managing passkeys and how it is protected. - [Multi-factor authentication](https://sovaria.in/docs/mfa): Let app users protect their account with an authenticator app or SMS codes and one-time backup codes: enrolment, signing in with a second factor, recovery, lockouts and turning it off. - [Authentication settings reference](https://sovaria.in/docs/auth-settings): Every setting under Authentication: URL configuration, sessions, rate limits, multi-factor, passkeys, attack protection and custom JWT claims — what each does, defaults and plans. - [Auth emails](https://sovaria.in/docs/auth-emails): Every email Sovaria sends your users, the template key and placeholders for each, how to customize them by plan, sending limits and sending from your own domain. - [Auth event hooks](https://sovaria.in/docs/auth-hooks): Call your own endpoint when users sign up, sign in, fail to sign in, sign out, reset a password, verify their email or are banned: events, payload, verifying the signature, retries and limits. - [Blocking hooks (before create, before sign-in)](https://sovaria.in/docs/auth-blocking-hooks): Run your own check inside sign-up and sign-in: refuse a user with your own message or add custom claims to their tokens, from a webhook or one of your functions. - [SAML single sign-on for your app (Okta, Entra ID, Google Workspace)](https://sovaria.in/docs/saml-sso): Let your business customers' staff sign in to your app with their company identity provider over SAML 2.0: one connection per IdP, bound to the email domains it may sign in. - [SCIM provisioning (Okta, Entra ID, Google Workspace)](https://sovaria.in/docs/scim-provisioning): Let your customers' identity providers create, update, deactivate and delete your app's users and manage groups as app roles, with SCIM 2.0. - [Organizations for your users](https://sovaria.in/docs/app-organizations): B2B apps: your users create organizations, invite teammates, give them roles and auto-join by verified email domain; the active organization is in every token for your policies. - [Third-party auth (Firebase, Auth0, Clerk, Cognito)](https://sovaria.in/docs/third-party-auth): Keep your existing sign-in and use Sovaria for data: exchange a Firebase Auth, Auth0, Clerk, Cognito, WorkOS or any OIDC token for a Sovaria session. - [Linked apps (sign in once across your apps)](https://sovaria.in/docs/linked-apps): Link two or more of your organization's projects so people move between the apps already signed in, while each app keeps its own accounts, roles, policies and tokens. ## Docs: Storage - [Storage](https://sovaria.in/docs/storage-overview): Store files in buckets, control who can read and write them, and serve them with public or signed URLs. - [Working with files](https://sovaria.in/docs/storage-files): Paths and folders, uploading (and replacing), large files with resumable uploads, listing, moving and renaming, downloading and deleting, and the limits that apply. - [Access, links and delivery](https://sovaria.in/docs/storage-access): Who can upload, download and delete: bucket rules and their fields, public and signed URLs and how long links last, caching and bandwidth, what image transformations do today, and files in HIPAA projects. - [Image transformations](https://sovaria.in/docs/storage-image-transforms): Resize and re-encode stored images on the fly (thumbnails, avatars, WebP/AVIF) through public URLs, signed links or downloads, in every SDK: options, limits, caching, plans and security. - [S3-compatible storage access](https://sovaria.in/docs/storage-s3): Use the AWS CLI, boto3, rclone, Cyberduck or any S3 SDK with your project's buckets: create an access key, point the client at your endpoint and use region auto. ## Docs: Functions - [Functions](https://sovaria.in/docs/functions-overview): Write functions in Python, JavaScript, TypeScript (Bun) or Go, deploy them, and call them over HTTP with secrets, logs and versions. - [Local development, logs and streaming](https://sovaria.in/docs/functions-local-development): Run functions locally exactly as in production, tail logs live, set secrets per environment, stream responses and size memory. - [Deploying and running functions](https://sovaria.in/docs/functions-deploy-and-run): Deploy from the console, the CLI or GitHub; dependencies; versions and rollback; environments; calling by name or id, synchronously, asynchronously or streaming; headers, errors and retries; and reading your data safely. - [HTTP functions](https://sovaria.in/docs/functions-http): Answer any method on any sub-path with your own status, headers and body: webhooks that verify signatures on the raw body, OAuth callbacks, GET APIs and files, with Web Request/Response and Deno.serve. - [API versions](https://sovaria.in/docs/functions-api-versions): Keep app builds you have already shipped working while you change your functions: a version pins every function's code, apps ask for it with one header, and you phase old versions out with deprecation and sunset dates. - [Flows](https://sovaria.in/docs/flows): Automations without servers: when a webhook, schedule, table or collection change, queue message or form fires, run steps — HTTP calls, functions, database writes, email, AI — with branches, loops, waits, retries and a full run history. - [Event triggers](https://sovaria.in/docs/function-triggers): Run a function when a document is written, a row changes, a user signs up, a file is uploaded or a message is published. - [Cron jobs](https://sovaria.in/docs/cron-jobs): Run a function, call an HTTPS endpoint, run SQL or run one of your agents on a schedule, in your own time zone, with retries, overlap control and a run history. - [Queues](https://sovaria.in/docs/queues): Durable message queues: send work, read it with a visibility timeout, archive or delete it, dead-letter what keeps failing, and let a function consume it. - [Durable workflows](https://sovaria.in/docs/function-workflows): Multi-step functions whose steps run exactly once and survive crashes, deploys, retries and waits of hours or days. - [Function memory, timeout and limits](https://sovaria.in/docs/functions-limits): Give each function its memory, timeout and minimum warm instances, and know the limits every function shares: invocations, compute, concurrency, cron schedules, triggers, retries, outbound hosts and logs. ## Docs: Realtime - [Realtime](https://sovaria.in/docs/realtime-overview): Broadcast messages on channels, track who is online, and stream database changes to clients. - [Channels and connections](https://sovaria.in/docs/realtime-channels): How a realtime connection is opened, kept alive and re-opened; publishing and receiving; channel names; message size, rate and ordering; catching up with replay; closing codes; encrypted channels; and limits. - [Broadcast, presence and table changes](https://sovaria.in/docs/realtime-broadcast-and-presence): supabase's channel API in every SDK — broadcast, presence and postgres_changes with subscribe, send, track, presenceState and removeChannel: how it maps onto Sovaria channels, guarantees, limits and security. - [Presence](https://sovaria.in/docs/realtime-presence): See who is connected to a channel: how presence is tracked, how long someone stays listed after disconnecting, several tabs and devices, and privacy. - [Database change events](https://sovaria.in/docs/realtime-database-changes): Get told when rows are inserted, updated or deleted: turning change capture on per table, the event format, delivery and ordering, writes from direct Postgres connections, who may listen, and why an event may be missing. - [Realtime settings and limits](https://sovaria.in/docs/realtime-settings): Decide who may connect to realtime, cap clients, events per second and message size per project, and know the organization-wide limits of your plan. ## Docs: AI and vectors - [Sovariq AI](https://sovaria.in/docs/sovariq-and-agents): Sovariq is the AI engineer in your console: describe what you want, and it plans the change, shows it, and runs it with your permissions after you approve. Plus agents you build into your own product. - [Sovariq modes and thinking levels](https://sovaria.in/docs/sovariq-modes): Ask, Plan, Build and Ideate decide what Sovariq may do; Low to Ultra decide how hard it thinks. How each works, how Sovariq switches between them, and what each costs. - [Show me, voice and screen reading](https://sovaria.in/docs/sovariq-show-me): Watch Sovariq do each step on the real console pages, let it point and draw while it explains, talk to it hands-free, and let it read what is on your screen, with what is shared and what never is. - [What Sovariq knows about your project](https://sovaria.in/docs/sovariq-context): The page you are on, your schema in compact form, the console map, the docs and your project.md: what Sovariq gets with each message, why it needs fewer tokens, and how to turn sharing off. - [Artifacts: pages, small apps, charts and diagrams in the chat](https://sovaria.in/docs/sovariq-artifacts): Sovariq draws diagrams and charts right in its reply, and makes artifacts (HTML pages, React components, documents, SVG, charts, code) you run, edit, version and ask it to change. - [Sovariq credits and limits](https://sovaria.in/docs/sovariq-credits): How many Sovariq credits you have, how a run spends them live, what happens at zero, and the limits your organization and Sovaria can set for each member, project and organization. - [How Sovariq keeps builds fast and cheap](https://sovaria.in/docs/sovariq-efficiency): Tools and playbooks loaded only when needed, a prompt that stays cached, older steps folded away, ready-made components and a bounded auto-fix after builds: how Sovariq spends fewer credits per app. - [Sovariq safety, approvals and guard rails](https://sovaria.in/docs/sovariq-safety): What Sovariq and your agents may do on their own, what always asks you, how secrets, injected instructions and outbound calls are handled before the model sees anything, and how web search works. - [App Builder: describe an app, Sovariq builds it on your backend](https://sovaria.in/docs/frontends): A React app for your project, built in front of you by Sovariq or by hand, wired to your tables, auth and storage with dropdowns, checked against your access rules, previewed live. - [Frontend templates: start from an open-source app or a shadcn/ui block](https://sovaria.in/docs/frontend-templates): Start a frontend from a Sovaria starter, a curated open-source React + Vite template pinned to a commit, or a shadcn/ui page block, with its licence kept and an attribution line in the README. - [Frontend components: licence-checked installs and your own library](https://sovaria.in/docs/frontend-components): Install shadcn/ui, Magic UI, Kibo UI, Sovaria blocks and Watermelon UI components into a frontend with everything they need, or save your own components to your organization's library and reuse them in any of its frontends. - [Component kit: tables, forms, charts and boards, ready to place](https://sovaria.in/docs/component-kit): Data-bound tables, forms, charts, boards, drawers, stats and sign-in screens every app starts with, plus page headers, heroes, illustrations, credited photos and motion that follow your design direction. - [Style an app from a link or a screenshot](https://sovaria.in/docs/style-from-a-link): Paste a site you like, or attach a screenshot, and Sovariq takes its style (colours, type, density, framing and motion) for your app's design directions. It reads only the link you typed, safely, and never copies the page's words or layout. - [Agents in your app](https://sovaria.in/docs/agents): Build AI assistants into your own product — a support bot for your customers, an analyst for your team — on your own model account, acting with the permissions of the person using them. - [Agent versions](https://sovaria.in/docs/agent-versions): Publish an agent, keep editing safely, compare what changed, and roll back in one click. - [Model gateway](https://sovaria.in/docs/model-gateway): Send your app's and agents' model calls through routes over your own model keys: automatic fallbacks, a response cache, and usage per model. - [Connect AI assistants (MCP): Claude, ChatGPT, Cursor and VS Code](https://sovaria.in/docs/mcp): Add https://api.sovaria.in/mcp to your AI assistant and sign in: it works on the organization and project you pick, with your role, read-only or read and write, and asks before it changes anything. - [Sovariq for Chrome: Sovariq in your browser](https://sovaria.in/docs/sovariq-for-chrome): Chat with Sovariq in Chrome's side panel, signed in with your Sovaria account. It reads the sites you allow, and on paid plans works on them — clicking, typing, filling forms — asking before anything final. - [Vector search and embeddings](https://sovaria.in/docs/vector-search): Store embeddings with pgvector or let Sovaria keep them up to date for chosen text columns, then search by meaning, exact words or both (hybrid) with filters and row-level security — plus the collections API. - [Knowledge bases (RAG)](https://sovaria.in/docs/knowledge-bases): Add documents, files and web pages; Sovaria splits and embeds them in your own Postgres, keeps them current, and agents and apps search them with citations — each user only finding what they may read. ## Docs: Mobile apps - [Mobile apps](https://sovaria.in/docs/mobile-overview): Build iOS, Android and Flutter apps on Sovaria: sign-in with deep links and PKCE, device sessions, push notifications and app attestation. - [Expo and React Native](https://sovaria.in/docs/mobile-expo): Build an iOS and Android app with Expo on Sovaria: sessions in the keychain, provider sign-in through the system browser with PKCE, native push, previews in Expo Go, and store builds on EAS with your own accounts. - [Flutter quickstart](https://sovaria.in/docs/mobile-flutter): Add Sovaria to a Flutter app: install, connect, sign in, read data, and keep the session in secure storage. - [iOS quickstart (Swift)](https://sovaria.in/docs/mobile-swift): Add Sovaria to a Swift app: install with SwiftPM, connect, sign in, read data, and keep the session in the Keychain. - [Android quickstart (Kotlin)](https://sovaria.in/docs/mobile-kotlin): Add Sovaria to an Android app: install with Gradle, connect, sign in, read data, and keep the session in the Keystore. - [Native iOS and Android](https://sovaria.in/docs/mobile-native): The raw HTTP calls behind the SDKs, for stacks without one (Kotlin Multiplatform, .NET MAUI, C++, a custom transport). - [Sign-in for mobile apps](https://sovaria.in/docs/mobile-auth): Provider sign-in and email links that open your app (authorization code + PKCE), universal links hosted by Sovaria, device sessions and refresh-token rotation. - [Push notifications](https://sovaria.in/docs/mobile-push): Send push notifications to your app users through FCM, APNs and web push with your own credentials: register tokens from the app, send from a function or your server. - [Messaging: push and email to your users](https://sovaria.in/docs/messaging): One API for push and email to your app users: templates with variables, audiences written in SQL, a preview before every send, marketing opt-outs with one-click unsubscribe, and a delivery log. - [App attestation](https://sovaria.in/docs/mobile-attestation): Accept traffic only from your genuine apps: Play Integrity on Android, App Attest and DeviceCheck on iOS, reCAPTCHA on the web, per service, sign-in included; limited-use tokens and signed attestation JWTs. - [Product analytics](https://sovaria.in/docs/product-analytics): Active users, events, funnels and retention for your web and mobile apps, stored next to your project and queryable in SQL. - [Remote config and feature flags](https://sovaria.in/docs/remote-config): Change what your app does without shipping an update: flags and values targeted by platform, version, country, user properties, audiences or a percentage, with versions, rollback and live updates. - [A/B experiments](https://sovaria.in/docs/ab-experiments): Split users between values of a remote config parameter and measure which one wins on an analytics event or on SQL over your own tables. - [Tester distribution](https://sovaria.in/docs/tester-distribution): Share APK and IPA builds with invited testers before they ship: groups, email invites, install links that stop working when you remove someone, uploads from CI. - [Crash reporting](https://sovaria.in/docs/crash-reporting): See the errors your users hit, grouped into issues with readable stacks, the calls that led up to them and the release, plus crash-free sessions and users for every release. - [App performance monitoring](https://sovaria.in/docs/app-performance): Measure what your users wait for (web vitals, app start, screens and every API call) and see each slow call next to the server's time for the same request. ## Docs: Security and access - [Security, policies and audit](https://sovaria.in/docs/security-and-policies): How access is decided, how to test it before you ship, and where every change is recorded. - [How access is decided](https://sovaria.in/docs/access-model): Who a request acts as, the order Sovaria checks access in, what happens when a rule allows, denies or nothing decides, and how Postgres row-level security fits in. - [Policy language (SPL)](https://sovaria.in/docs/policy-language): The syntax of access policies: ALLOW and DENY rules, the ctx fields you can test, operators, precedence, and how to write, check, version and roll back rules. - [Row-level security and access](https://sovaria.in/docs/row-level-security): Decide who may use each table and which rows each app user sees — with access policies, Postgres row-level security and the auth helpers. - [Auth helpers in SQL](https://sovaria.in/docs/auth-helpers): auth.uid(), auth.role(), auth.email(), auth.verified_email(), auth.has_role() and auth.jwt(): what each returns for anonymous, signed-in and server callers, and how to use them in row-level security. - [Security recipes](https://sovaria.in/docs/security-recipes): Tested patterns for common access needs: public catalogues, users owning their rows, teams, admins, public forms, read-only keys, protected owner columns, tenant isolation, column limits, private files and realtime channels. - [Keys, tokens and credentials](https://sovaria.in/docs/credentials): Every credential a Sovaria project uses — anon key, service role key, custom keys, access and refresh tokens, CLI tokens, the database password and secrets — where each may be used, how long it lasts and what to do if one leaks. - [Allowed origins (CORS) for browser apps](https://sovaria.in/docs/allowed-origins): Choose which websites may call your project API from a browser. Unlisted origins — localhost included, unless you list it — get 403 before the request runs. - [Your own encryption key (BYOK)](https://sovaria.in/docs/encryption-keys): Encrypt your organization's storage files and database backups with a key you hold in AWS KMS. Revoke it and that data can no longer be read — by anyone, Sovaria included. - [Security advisor](https://sovaria.in/docs/security-advisor): What the security advisor checks — tables without policies, rules that let anyone in, public writes and reads, unprotected buckets — what each finding means and how to fix it. - [Trust and compliance](https://sovaria.in/docs/trust): SOC 2 (in progress, no audit yet), ISO 27001, HIPAA, DPDP, GDPR and PCI today: what you can rely on now, how to check it, and what you can ask us for. - [Security questionnaire answers](https://sovaria.in/docs/security-questionnaire): Pre-filled answers to common vendor security questionnaires (CAIQ-Lite, SIG Lite style), written from how Sovaria actually works, with unknowns marked. - [Shared responsibility](https://sovaria.in/docs/shared-responsibility): What Sovaria secures, what you secure, and how to use Sovaria to meet your own SOC 2, DPDP Act, GDPR, HIPAA and PCI obligations. - [SOC 2 and HIPAA controls](https://sovaria.in/docs/compliance-controls): How each SOC 2 criterion (security, availability, confidentiality) and each HIPAA Security Rule technical safeguard is met in Sovaria, what is still open, and what is your part. Our own assessment, not an auditor's. - [Compliance center](https://sovaria.in/docs/compliance-center): Evidence for your own audits and security reviews: audit-log check, backup encryption from the records, PITR, access matrix, Security Advisor findings, subprocessors, the audit log export and, on Enterprise, the HIPAA report. - [How we secure and test the platform](https://sovaria.in/docs/platform-security): How customers are kept apart, the security tests scheduled every week and after every deploy, our testing program in numbers, how builds are signed and checked before they run, and the service objectives we monitor. - [Audit log](https://sovaria.in/docs/audit-logs): What the audit log records, how to search it, how long it is kept, how to check it hasn't been altered and how it differs from request logs and version history. - [HIPAA mode and PHI projects](https://sovaria.in/docs/hipaa): Store protected health information (PHI) on Sovaria: HIPAA-ready with a signed BAA on the Enterprise plan. MFA for every member, shorter sessions, six-year audit logs, per-project PHI protections, a PHI access log and a safeguards report. - [Reporting a vulnerability](https://sovaria.in/docs/vulnerability-disclosure): How to report a security issue in Sovaria, what to include, and what we promise in return. ## Docs: Integrations - [Integrations](https://sovaria.in/docs/integrations): Every tool Sovaria connects to: alerts in Slack, Discord, Teams or your own endpoint, GitHub, Vercel and Netlify, sign-in providers, AI model keys, email relays, Zapier, n8n and Make, log drains and Postgres clients. - [Alerts: Slack, Discord, Teams, webhooks](https://sovaria.in/docs/integration-alerts): Send your organization’s security, project, usage and billing alerts to Slack, Discord, Microsoft Teams or your own HTTPS endpoint: setup for each, what each message looks like, signatures, test, pause and delivery. - [GitHub](https://sovaria.in/docs/integration-github): Link a GitHub repository to a project: deploy functions from a folder (on push or with Sync), fetch migration files to apply, commit a function’s source back, and receive app builds as pull requests. - [Vercel and Netlify](https://sovaria.in/docs/integration-vercel-and-netlify): Connect Vercel or Netlify to write your project URL and publishable key into a site’s environment variables for production, preview and development. - [AI model providers](https://sovaria.in/docs/integration-ai-providers): Sovariq works with included models out of the box; add your own Anthropic, OpenAI, Google Gemini, Mistral, Groq, OpenRouter, DeepSeek, xAI or Together AI key to use your models: where, who can, how keys are stored and billed. - [Email relays (SMTP)](https://sovaria.in/docs/integration-email-providers): Send your app’s sign-in, magic-link, verification and invite emails through your own email provider over SMTP: the settings for each provider, the sender address, and how to check it works. - [Zapier, n8n and Make](https://sovaria.in/docs/integration-automation): Start Zapier Zaps, n8n workflows and Make scenarios when rows are inserted, updated or deleted, through database webhooks: setup in each tool, what the workflow receives, and fetching the changed rows. - [Datadog, Loki and log drains](https://sovaria.in/docs/integration-observability): Forward your project’s request and function logs to Datadog, Grafana Loki or your own HTTPS endpoint: what to paste for each, what arrives, and how fast. - [Postgres clients and GraphQL](https://sovaria.in/docs/integration-postgres-clients): Connect psql, ORMs like Prisma and Drizzle, BI and admin tools to your project’s Postgres, and query it over GraphQL: connection strings, the pooler, TLS and which credential to use where. ## Docs: Test and ship - [Testing your app](https://sovaria.in/docs/testing): What to test and with which tool: access rules, migrations, functions, realtime and the whole app against a staging environment with seeded data and test users. - [Access rules tests](https://sovaria.in/docs/rules-tests): Write who-can-do-what cases in a YAML file, run them against your live access policies or local drafts with sov rules test, read the results, and fail CI with a JUnit report. - [Simulate access before you ship](https://sovaria.in/docs/simulation): Check who can do what in your project — visitors, signed-in users, each app role and your team — across tables, documents, storage, realtime and functions, try one request step by step, without writing any data. - [Offline simulation](https://sovaria.in/docs/offline-simulation): Run the SQL part of the access simulation on your own machine from a snapshot of the project — and see exactly what a migration changes — without a live project. - [Environments, staging and deploying to production](https://sovaria.in/docs/environments-and-staging): Staging environments with their own database (empty, structure only, or a masked sample or all of production's data), functions, policies and URL; a preview per pull request; and a checked, all-or-nothing deploy to production. - [Branches and previews](https://sovaria.in/docs/branches-and-previews): A branch is a copy of your whole project (schema, functions, policies, settings) with its own database. Check it out, deploy it into staging or production, and keep snapshots to go back to. - [CI/CD](https://sovaria.in/docs/ci-cd): Run Sovaria checks and deploys from CI: credentials, migrations with a dry run first, rules tests and access simulations that fail a pull request, function deploys, environment promotion and an example GitHub Actions workflow. - [Version history: see, undo and restore changes](https://sovaria.in/docs/version-history): Every change to policies, tables, functions, settings, buckets and keys is recorded on a timeline. See what a change did, undo just that change, or take the project back to an earlier point. - [API versions: run v1 and v2 side by side](https://sovaria.in/docs/api-versions): Ship a new version of your API next to the current one: v2 gets its own URL, tables, functions and policies, v1 keeps working, and you move apps over when you are ready. - [Keep an app in GitHub](https://sovaria.in/docs/app-github-sync): Connect an app you build in Sovaria to a folder of a GitHub repository: push its files on demand or on every publish, and pull changes made in GitHub back. ## Docs: Platform - [Organizations, members and roles](https://sovaria.in/docs/organizations): What an organization holds, inviting people, the Owner, Admin, Member and Viewer roles, custom roles with fine-grained permissions, removing members and deleting an organization. - [Projects](https://sovaria.in/docs/projects): Creating a project, its id, reference and URL, region, what each project contains, environments, health and deleting a project. - [Working as a team](https://sovaria.in/docs/team-access): Least-privilege access for your team, sharing SQL and settings, reviewing changes, and what is recorded. - [Notifications and emails](https://sovaria.in/docs/notifications): What Sovaria tells you about, how to choose what you receive by email, and desktop notifications. - [Signing in to Sovaria Workspace](https://sovaria.in/docs/workspace-sign-in): How the Sovaria Workspace app signs in on Windows, macOS, Linux, Android and iOS (OAuth with PKCE through the console), how it shows up under Account › Security, and how to sign a device out. - [How Sovaria works](https://sovaria.in/docs/architecture): The path a request takes — gateway, identity, access policies, the product that owns it and your database — and what each Sovaria product (Auth, Database, Documents, Storage, Functions, Realtime…) is responsible for. - [Reliability](https://sovaria.in/docs/reliability): Timeouts, retries and idempotency, how the platform recovers from a failed service, what each plan offers for availability, and how to diagnose an incident. - [Performance](https://sovaria.in/docs/performance): Make apps on Sovaria fast: indexes and the query advisor, pagination, connection pooling, statement timeouts, payload size, function memory and realtime connections. - [Benchmarks](https://sovaria.in/docs/benchmarks): Measured latency and throughput of the live Sovaria platform: where and how we tested, single-request latency per operation, function cold and warm starts per runtime, and what we are improving next. - [Billing, invoices and overage](https://sovaria.in/docs/billing): How billing works per organization: changing plan, the monthly cycle, usage, invoices and payment, choosing which services may go beyond their allowance, and cancelling. - [Plans, usage and limits](https://sovaria.in/docs/plans-and-limits): What happens when you reach a plan limit, how to see usage, and how overage works. - [Plan limits](https://sovaria.in/docs/plan-limits): Every limit of the Free, Pro, Ultra, Team and Enterprise plans in one table. - [Backups and recovery](https://sovaria.in/docs/backups-and-recovery): What Sovaria backs up and for how long, backup health and downloads, comparing with today, and restoring tables or the whole database (into an environment, another project or production) to a backup or any second, with undo. ## Docs: Project settings - [General settings](https://sovaria.in/docs/settings-general): Your project’s name, IDs and region, the connection file for apps, pausing, resuming or restarting the database, and deleting the project safely. - [Plan and usage](https://sovaria.in/docs/settings-plan-and-usage): Read every limit your plan includes, how much of each monthly allowance you have used, what the next plan adds, what happens at a limit, and how your app should handle it. - [Database: connection, compute, disk and backups](https://sovaria.in/docs/settings-database): Connect to your project’s Postgres directly or through the pooler, choose and resize compute, read disk use, and recover data with daily backups and replicas. - [Pooling and timeouts](https://sovaria.in/docs/settings-pooling-and-timeouts): Choose how PgBouncer shares database connections (transaction, session or statement mode), size the pool, and set how long one SQL statement may run before it is cancelled. - [API keys, origins and security](https://sovaria.in/docs/settings-api-and-security): Your endpoints, the anon and service role keys and when to rotate them, which websites may call the API from a browser, per-IP rate limiting and the request limits of your plan. - [Emails: SMTP, templates and limits](https://sovaria.in/docs/settings-emails): Send auth emails through your own SMTP provider or Sovaria’s sender, set up SPF and DKIM, customise every template with variables, and understand the shared sender’s limits. - [Networking and availability add-ons](https://sovaria.in/docs/settings-networking): Request a static egress IP, a private network, VPC peering, multi-region, high-availability failover or isolated compute, follow the request, and see which plans include each. ## Docs: Observability - [Logs and log drains](https://sovaria.in/docs/logs-and-log-drains): Request, function, database and audit logs in the console, and log drains that forward request and function logs to Datadog, Grafana Loki or your own HTTPS endpoint. - [Request traces: why did this request fail?](https://sovaria.in/docs/request-traces): Every request carries a trace id from the SDK through the gateway, each Sovaria product and SQL. When one is refused or fails, Sovaria records which check said no and why, and explains it. - [Alerts: latency, errors, function failures and connections](https://sovaria.in/docs/slo-alerts): Get an email or a signed webhook when your API gets slow, server errors climb, functions fail or your database runs out of connections — checked every minute, with a plan-based number of rules. ## Docs: Troubleshooting - [Troubleshooting](https://sovaria.in/docs/troubleshooting): Find the fix for an error: how to read error responses, the most common status codes, and a guide per area — auth, database, storage, functions, realtime and your organization. - [Troubleshooting authentication](https://sovaria.in/docs/troubleshooting-auth): Sign-in failures, sign-ups refused, emails that don't arrive, links that land on the wrong page, PKCE errors, rate limits, MFA lockouts, unexpected sign-outs and tokens your backend rejects. - [Troubleshooting the database](https://sovaria.in/docs/troubleshooting-database): Requests refused by policies or row-level security, empty results, statement timeouts, connection failures and limits, migration failures and slow queries. - [Troubleshooting storage](https://sovaria.in/docs/troubleshooting-storage): Uploads refused (409, 413, content type, quota), downloads denied, links that stop working, files that don't display, and resumable uploads that won't continue. - [Troubleshooting functions](https://sovaria.in/docs/troubleshooting-functions): Calls refused (401, 403, 404, 409, 429), errors and timeouts inside your code, outbound requests blocked, secrets not visible, and triggers that keep failing. - [Troubleshooting realtime](https://sovaria.in/docs/troubleshooting-realtime): Connections that close (4401, 4408, 1013), messages or database change events that don't arrive, gaps after reconnecting, and presence that looks wrong. - [Troubleshooting your organization and plan](https://sovaria.in/docs/troubleshooting-platform): Plan limits and quotas, invitations that can't be accepted, members who can't do something, API keys that stop working, and browser origins that are refused. ## Docs: JavaScript SDK - [JavaScript: install and configure](https://sovaria.in/docs/javascript-setup): Install @sovaria/sdk, where it runs, create a client for browsers and for servers, every configuration option, sessions, retries and idempotency, errors and their codes, and fixes for common setup problems. - [JavaScript: React, Next.js, Vite and Node](https://sovaria.in/docs/javascript-frameworks): Use the SDK in React (session state and protected routes), Next.js (client components, route handlers and server rendering as the user), Vite, and Node.js servers such as Express. - [JavaScript SDK](https://sovaria.in/docs/javascript-reference): Install @sovaria/sdk, create a client, keep users signed in, handle errors and retries — and find every method by area. - [JavaScript: Authentication](https://sovaria.in/docs/javascript-auth): Sign app users up and in with email and password, magic links, email codes, SMS codes and social providers; manage sessions, MFA, users and roles with @sovaria/sdk. - [JavaScript: Database and documents](https://sovaria.in/docs/javascript-database): Run SQL with bound parameters, manage documents in collections, tables, migrations and multi-request transactions with @sovaria/sdk. - [JavaScript: Storage](https://sovaria.in/docs/javascript-storage): Create buckets, upload and download files, list and move objects, and hand out public or signed URLs with @sovaria/sdk. - [JavaScript: Functions](https://sovaria.in/docs/javascript-functions): Call edge functions from your app, deploy and version them, run them asynchronously, read logs, and manage their access, settings and bindings with @sovaria/sdk. - [JavaScript: Realtime](https://sovaria.in/docs/javascript-realtime): Listen on channels over WebSocket with automatic reconnects, publish messages, see who is online and catch up on missed messages with @sovaria/sdk. - [JavaScript: Policies and audit](https://sovaria.in/docs/javascript-policies): List, create, test and roll back project access policies, ask whether an action is allowed, and read or verify the tamper-evident audit log with @sovaria/sdk. - [JavaScript: Simulation](https://sovaria.in/docs/javascript-simulation): Run access simulations as every user type, preview a policy or SQL change before making it, and compare runs with @sovaria/sdk. - [JavaScript: Version history](https://sovaria.in/docs/javascript-version-history): Read the project configuration at any point in time, preview and apply a restore, manage timelines and snapshots with @sovaria/sdk. - [JavaScript: Knowledge bases and agents](https://sovaria.in/docs/javascript-ai): Add documents to a knowledge base and search them with citations, and talk to your project's agents from your app with @sovaria/sdk. - [JavaScript: Vectors and embeddings](https://sovaria.in/docs/javascript-vectors): Turn text into embeddings, store vectors with metadata and run similarity search with @sovaria/sdk. - [JavaScript: Organizations, projects and keys](https://sovaria.in/docs/javascript-organizations): Manage organizations, members, invites, roles, project settings, API keys and project databases with @sovaria/sdk. - [JavaScript: Billing and usage](https://sovaria.in/docs/javascript-billing): Read plans, subscriptions, usage, compute and invoices, and check platform health with @sovaria/sdk. - [JavaScript: Low-level API client](https://sovaria.in/docs/javascript-api-client): sovaria.api — every Sovaria REST endpoint as a typed method, generated from the API contract, for calls the area methods don't cover. ## Docs: Python SDK - [Python: install and configure](https://sovaria.in/docs/python-setup): Install sovaria-sdk, async and sync clients, configuration from arguments, files or the environment, acting as a user on a server, retries, errors, and Flask, Django and FastAPI integration. - [Python SDK](https://sovaria.in/docs/python-reference): Install sovaria-sdk, create an async or sync client, handle errors, set scope — and find every method by area. - [Python: Authentication](https://sovaria.in/docs/python-auth): Sign app users up and in with passwords, magic links, SMS codes and providers; manage sessions, MFA, passkeys, app users and roles with the Python SDK. - [Python: Database and documents](https://sovaria.in/docs/python-database): Run SQL with bound parameters, read and write documents, manage tables, migrations and transactions with the Python SDK. - [Python: Storage](https://sovaria.in/docs/python-storage): Create and configure buckets, list, move and delete objects, and issue signed upload and download URLs with the Python SDK. - [Python: Functions](https://sovaria.in/docs/python-functions): Invoke edge functions synchronously or asynchronously, deploy and version them, read logs and history, and manage access and bindings with the Python SDK. - [Python: Realtime](https://sovaria.in/docs/python-realtime): Publish to channels, replay missed messages, see presence and channels, open WebSockets with tickets and manage end-to-end encryption keys with the Python SDK. - [Python: Policies and audit](https://sovaria.in/docs/python-policies): List, create, test, evaluate and roll back access policies, check permissions, read or verify the audit log and access transparency, read the compliance overview and HIPAA status with the Python SDK. - [Python: Simulation](https://sovaria.in/docs/python-simulation): Run access simulations as every user type, preview policy or SQL changes, and compare runs with the Python SDK. - [Python: Version history](https://sovaria.in/docs/python-version-history): Read the project configuration at any point in time, preview and apply a restore, and manage timelines and snapshots with the Python SDK. - [Python: Vectors and embeddings](https://sovaria.in/docs/python-vectors): Embed text, store vectors with metadata and run similarity search with the Python SDK. - [Python: Organizations, projects and keys](https://sovaria.in/docs/python-organizations): Manage organizations, members, invites, roles, project settings, API keys and project databases with the Python SDK. - [Python: Billing, usage and health](https://sovaria.in/docs/python-billing): Read plans, subscriptions, usage, compute and invoices, and check platform health and error traces with the Python SDK. ## Docs: Swift SDK - [Swift SDK](https://sovaria.in/docs/swift-reference): Install the Swift SDK, create a client, handle errors, and find every type and method by area. - [Swift: Authentication](https://sovaria.in/docs/swift-auth): Swift SDK: sign app users in (passwords, links, codes, OAuth/SSO, passkeys), keep the session, handle deep links, MFA factors (auth.mfa) and the admin API (auth.admin), and app admins managing users in the app (auth.users). - [Swift: Database](https://sovaria.in/docs/swift-database): Swift SDK: rows with from(table) (filters, related rows, insert returning the row, counts), SQL with bound parameters and database functions. - [Swift: Documents](https://sovaria.in/docs/swift-collections): Swift SDK: read, write and query document collections, count and aggregate, and commit several writes at once. - [Swift: Storage](https://sovaria.in/docs/swift-storage): Swift SDK: upload, download, list, move, copy and remove files; create signed, signed-upload and public URLs (with image transforms); manage buckets. - [Swift: Functions](https://sovaria.in/docs/swift-functions): Swift SDK: invoke your deployed functions with a body, headers and method, and read their data or a typed error. - [Swift: Realtime](https://sovaria.in/docs/swift-realtime): Swift SDK: join channels, send and receive messages, follow connection status and catch up after a reconnect; supabase-style channels with broadcast, presence and table changes. - [Swift: Offline](https://sovaria.in/docs/swift-offline): Swift SDK: cache reads and queue writes while the device is offline, then sync in order; kept on disk by default. - [Swift: Firestore-compatible API](https://sovaria.in/docs/swift-firestore): Swift SDK: firebase-style collection, document and query references on top of Sovaria documents, for moving a Firebase app over. - [Swift: Push, attestation and crashes](https://sovaria.in/docs/swift-mobile): Swift SDK: register devices for push, prove requests come from your real app, and report crashes. - [Swift: Simulation](https://sovaria.in/docs/swift-simulation): Swift SDK: check who can do what in your project without changing anything. - [Swift: Analytics and performance](https://sovaria.in/docs/swift-analytics): Swift SDK: log events and screen views for active users, funnels and retention, and report app start, screen and network timings. - [Swift: Full API (api.*)](https://sovaria.in/docs/swift-api): Every Sovaria API operation as a typed call, grouped by module, with the Swift SDK. ## Docs: Kotlin SDK - [Kotlin SDK](https://sovaria.in/docs/kotlin-reference): Install the Kotlin SDK, create a client, handle errors, and find every type and method by area. - [Kotlin: Authentication](https://sovaria.in/docs/kotlin-auth): Kotlin SDK: sign app users in (passwords, links, codes, OAuth/SSO, passkeys), keep the session, handle deep links, MFA factors (auth.mfa) and the admin API (auth.admin), and app admins managing users in the app (auth.users). - [Kotlin: Database](https://sovaria.in/docs/kotlin-database): Kotlin SDK: rows with from(table) (filters, related rows, insert returning the row, counts), SQL with bound parameters and database functions. - [Kotlin: Documents](https://sovaria.in/docs/kotlin-collections): Kotlin SDK: read, write and query document collections, count and aggregate, and commit several writes at once. - [Kotlin: Storage](https://sovaria.in/docs/kotlin-storage): Kotlin SDK: upload, download, list, move, copy and remove files; create signed, signed-upload and public URLs (with image transforms); manage buckets. - [Kotlin: Functions](https://sovaria.in/docs/kotlin-functions): Kotlin SDK: invoke your deployed functions with a body, headers and method, and read their data or a typed error. - [Kotlin: Realtime](https://sovaria.in/docs/kotlin-realtime): Kotlin SDK: join channels, send and receive messages, follow connection status and catch up after a reconnect; supabase-style channels with broadcast, presence and table changes. - [Kotlin: Offline](https://sovaria.in/docs/kotlin-offline): Kotlin SDK: cache reads and queue writes while the device is offline, then sync in order; kept on disk by default. - [Kotlin: Firestore-compatible API](https://sovaria.in/docs/kotlin-firestore): Kotlin SDK: firebase-style collection, document and query references on top of Sovaria documents, for moving a Firebase app over. - [Kotlin: Push, attestation and crashes](https://sovaria.in/docs/kotlin-mobile): Kotlin SDK: register devices for push, prove requests come from your real app, and report crashes. - [Kotlin: Simulation](https://sovaria.in/docs/kotlin-simulation): Kotlin SDK: check who can do what in your project without changing anything. - [Kotlin: Analytics and performance](https://sovaria.in/docs/kotlin-analytics): Kotlin SDK: log events and screen views for active users, funnels and retention, and report app start, screen and network timings. - [Kotlin: Vectors and backups](https://sovaria.in/docs/kotlin-vectors): Kotlin SDK: store and search embeddings, and list, take and restore database backups. - [Kotlin: Full API (api.*)](https://sovaria.in/docs/kotlin-api): Every Sovaria API operation as a typed call, grouped by module, with the Kotlin SDK. ## Docs: Dart and Flutter SDK - [Dart SDK](https://sovaria.in/docs/dart-reference): Install the Dart SDK, create a client, handle errors, and find every type and method by area. - [Dart: Authentication](https://sovaria.in/docs/dart-auth): Dart and Flutter SDK: sign app users in (passwords, links, codes, OAuth/SSO, passkeys), keep the session, handle deep links, MFA factors (auth.mfa) and the admin API (auth.admin), and app admins managing users in the app (auth.users). - [Dart: Database](https://sovaria.in/docs/dart-database): Dart and Flutter SDK: rows with from(table) (filters, related rows, insert returning the row, counts), SQL with bound parameters and database functions. - [Dart: Documents](https://sovaria.in/docs/dart-collections): Dart and Flutter SDK: read, write and query document collections, count and aggregate, and commit several writes at once. - [Dart: Storage](https://sovaria.in/docs/dart-storage): Dart and Flutter SDK: upload, download, list, move, copy and remove files; create signed, signed-upload and public URLs (with image transforms); manage buckets. - [Dart: Functions](https://sovaria.in/docs/dart-functions): Dart and Flutter SDK: invoke your deployed functions with a body, headers and method, and read their data or a typed error. - [Dart: Realtime](https://sovaria.in/docs/dart-realtime): Dart and Flutter SDK: join channels, send and receive messages, follow connection status and catch up after a reconnect; supabase-style channels with broadcast, presence and table changes. - [Dart: Offline](https://sovaria.in/docs/dart-offline): Dart and Flutter SDK: cache reads and queue writes while the device is offline, then sync in order; kept on disk by default. - [Dart: Firestore-compatible API](https://sovaria.in/docs/dart-firestore): Dart and Flutter SDK: firebase-style collection, document and query references on top of Sovaria documents, for moving a Firebase app over. - [Dart: Push, attestation and crashes](https://sovaria.in/docs/dart-mobile): Dart and Flutter SDK: register devices for push, prove requests come from your real app, and report crashes. - [Dart: Simulation](https://sovaria.in/docs/dart-simulation): Dart and Flutter SDK: check who can do what in your project without changing anything. - [Dart: Analytics and performance](https://sovaria.in/docs/dart-analytics): Dart and Flutter SDK: log events and screen views for active users, funnels and retention, and report app start, screen and network timings. - [Dart: Vectors and backups](https://sovaria.in/docs/dart-vectors): Dart and Flutter SDK: store and search embeddings, and list, take and restore database backups. - [Dart: Full API (api.*)](https://sovaria.in/docs/dart-api): Every Sovaria API operation as a typed call, grouped by module, with the Dart and Flutter SDK. ## Docs: CLI - [CLI: install, sign in and work](https://sovaria.in/docs/cli-guide): Install sovaria-cli, sign in (browser, email or CI tokens), choose the organization and project, link a folder, everyday workflows, output for scripts, exit codes and troubleshooting. - [CLI: Import from Supabase, Firebase, Convex or Postgres](https://sovaria.in/docs/cli-import): Move a Supabase, Firebase, Convex, Neon or other Postgres project to Sovaria with sov import: schema and rules, users with their passwords, data, documents, files, and a report. - [CLI reference](https://sovaria.in/docs/cli-reference): Install sov, sign in, choose a project, script it in CI with JSON output and exit codes — and find every command by area. - [CLI: Accounts, projects and access](https://sovaria.in/docs/cli-auth-and-projects): Sign in, pick the organization and project commands act on, manage team members, roles, app users, auth settings, SCIM provisioning, blocking auth hooks and API keys with sov. - [CLI: Database, documents and schema](https://sovaria.in/docs/cli-database): Run SQL, manage tables and migrations and environments (with a sample of the data), apply app templates, check app builds and open them as pull requests, read and write documents, inspect the schema and generate types with sov. - [CLI: Functions, flows, cron jobs, queues, hosting and secrets](https://sovaria.in/docs/cli-functions): Deploy, invoke, version, promote and roll back edge functions, read their logs, build and run flows (automations), schedule cron jobs (functions, HTTPS, SQL), work with message queues, deploy web sites, and manage function secrets with sov. - [CLI: Storage](https://sovaria.in/docs/cli-storage): Create and configure buckets, upload, download, list, move and delete objects, and sign URLs with sov. - [CLI: Realtime and messaging](https://sovaria.in/docs/cli-realtime): Turn live change events for tables on and off, publish to channels, see presence, replay messages and manage end-to-end encryption keys, and send push and email to app users (templates, audiences, sends) with sov. - [CLI: Analytics, remote config, experiments and tester builds](https://sovaria.in/docs/cli-app-growth): Read product analytics (active users, events, funnels, retention) and export events, manage remote config and feature flags as a file in git, run A/B experiments, and send test builds to testers with sov. - [CLI: Policies, rules tests, simulation, audit and compliance](https://sovaria.in/docs/cli-security): Manage access policies, test who can do what with rules tests, run access simulations and change previews (with CI exit codes), read the audit trail, and download your organization's compliance evidence pack with sov. - [CLI: Version history](https://sovaria.in/docs/cli-version-history): Read the project configuration at any point in time, restore it, and manage timelines and snapshots with sov. - [CLI: Logs, metrics, alerts, crashes, vectors and AI tools](https://sovaria.in/docs/cli-logs-and-ai): Read logs, request metrics and per-route latency, manage SLO alerts and crash reports, work with vectors, knowledge bases (RAG) and embeddings, talk to your agents, and connect AI assistants over MCP with sov. - [CLI: Billing and databases](https://sovaria.in/docs/cli-billing-and-infrastructure): Read plans, subscriptions and usage, and manage your project databases (backups, pause, resume, resize) with sov. ## Docs: HTTP API - [HTTP API](https://sovaria.in/docs/http-api): Call Sovaria from any language: base URL, authentication, the routes an app uses, response shapes, errors and rate limits. - [HTTP API: authentication](https://sovaria.in/docs/rest-auth): Sign app users up and in (email and password, magic links, email codes, passkeys, SSO, anonymous), refresh and end sessions, MFA, email changes and a user's own sessions and devices — every request and response. - [HTTP API: users and auth settings](https://sovaria.in/docs/rest-auth-admin): Manage a project's app users (create, import, ban, delete, roles, MFA reset) and its sign-in settings: providers, sessions, SMTP, email templates, hooks, OIDC and OAuth apps. - [HTTP API: SQL, REST and GraphQL](https://sovaria.in/docs/rest-sql): Run SQL, read and write tables PostgREST-style, query GraphQL and keep a transaction open across requests — parameters, row format, limits and errors. - [HTTP API: tables, migrations and history](https://sovaria.in/docs/rest-data): Create and change tables, columns, indexes and constraints, row security, migrations (apply, dry-run, roll back, promote) and table history over HTTP. - [HTTP API: documents](https://sovaria.in/docs/rest-documents): Write, read, delete, query, count and batch documents, run transactions, manage indexes, collections, rules and live listeners over HTTP. - [HTTP API: storage](https://sovaria.in/docs/rest-storage): Upload, download, list, move, delete and sign files, resumable uploads, public URLs and buckets — every request and response. - [HTTP API: functions](https://sovaria.in/docs/rest-functions): Call functions, invoke them asynchronously, read invocations and logs, and manage functions: deploys, versions, rollback, bindings, caller rules, limits, cron schedules, triggers, workflows and builds. - [HTTP API: queues](https://sovaria.in/docs/rest-queues): Create message queues, send and read messages with a visibility timeout, archive, delete, purge, metrics and dead letters. - [HTTP API: realtime](https://sovaria.in/docs/rest-realtime): Publish to channels, read presence and replay missed messages, server-side subscriptions, rule dry-runs and end-to-end encryption keys. - [HTTP API: vectors and embeddings](https://sovaria.in/docs/rest-vectors): Vector columns and indexes in your tables, similarity and hybrid search, automatic embeddings, and vector collections with their records. - [HTTP API: policies, simulation, audit and encryption keys](https://sovaria.in/docs/rest-security): Create, check, evaluate and roll back access policies, run and compare simulations, read and verify the audit log, and use your own encryption key. - [HTTP API: version history](https://sovaria.in/docs/rest-history): The project's configuration timeline: commits, branches, snapshots, state at a moment, and restoring earlier states. - [HTTP API: databases, backups and replicas](https://sovaria.in/docs/rest-databases): A project's database: connection details, size, pause and resume, backups and restores, comparing two moments, read replicas and templates. - [HTTP API: organizations, projects and keys](https://sovaria.in/docs/rest-organizations): Organizations, projects, members, invitations, roles, API keys, project settings and secrets, webhooks, notifications, integrations and templates. - [HTTP API: plans, usage and billing](https://sovaria.in/docs/rest-billing): Plans, subscriptions, usage and its history, compute, entitlements, overage switches, invoices and checkout. - [HTTP API: apps, push, attestation and crashes](https://sovaria.in/docs/rest-mobile): Registered iOS and Android apps, push credentials, devices, topics and sends, app attestation and your apps' crash reports. - [HTTP API: analytics, performance and remote config](https://sovaria.in/docs/rest-analytics): Events your app logs and the active users, funnels, retention and live views built from them; app start, screen and network timings; and the remote config your app fetches. - [HTTP API: messaging](https://sovaria.in/docs/rest-messaging): Email and push campaigns to your app's users: templates, audiences defined by SQL, previews, sends, deliveries, usage and opt-outs. - [HTTP API: logs and traces](https://sovaria.in/docs/rest-observability): Request logs and traces, recorded errors, and the observability summaries behind the console's charts. - [HTTP API: AI (Sovariq, app agents, model gateway)](https://sovaria.in/docs/rest-ai): Sovariq conversations and workspace, your project's app agents and their versions, knowledge bases, and the model gateway your app calls. - [HTTP API: AI assistants (MCP)](https://sovaria.in/docs/rest-mcp): OAuth discovery, client registration and revocation for MCP clients, the console's consent endpoints, your connected AI assistants and the organization switch. - [Environment variables](https://sovaria.in/docs/environment-variables): Every environment variable the JavaScript SDK, Python SDK and CLI read: name, purpose, whether it is required, default, whether it is secret and where it applies. - [Glossary](https://sovaria.in/docs/glossary): The terms used across Sovaria's console, API and docs, in one place.