> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sevalla.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These are the docs for Sevalla, a platform for deploying applications, databases, static sites, object storage and load balancers. The dashboard is at https://app.sevalla.com.
> Bold text in steps is an exact dashboard label.
> To act on a Sevalla account, prefer the Sevalla MCP server (https://mcp.sevalla.com/mcp, see https://docs.sevalla.com/ai-agents/overview.md), then the Sevalla CLI (https://docs.sevalla.com/developer-tools/cli.md), then the REST API (https://api-docs.sevalla.com, OpenAPI spec at https://api.sevalla.com/v3/openapi.json).
> Every page index is at https://docs.sevalla.com/llms.txt.

# FastAPI

> Guides for running FastAPI on Sevalla: deploy with Ingot, Uvicorn and PostgreSQL, then add object storage, Redis caching, Celery and health checks.

The FastAPI guides take a FastAPI project from your computer to a running Sevalla application, built by [Ingot](https://docs.sevalla.com/applications/builds/ingot.md) or by [your own Dockerfile](https://docs.sevalla.com/guides/python/fastapi/deploy.md#deploy-with-a-dockerfile), then add one capability each. Start with the deploy guide: the others build on the project it creates.

> [card] [Deploy FastAPI](https://docs.sevalla.com/guides/python/fastapi/deploy.md)
>
> Uvicorn built by Ingot or a Dockerfile, SQLModel on a PostgreSQL database and Alembic migrations in a job.

> [card] [Object storage](https://docs.sevalla.com/guides/python/fastapi/object-storage.md)
>
> Upload files to a bucket with boto3 and share them with presigned URLs.

> [card] [Background tasks](https://docs.sevalla.com/guides/python/fastapi/background-tasks.md)
>
> Short tasks with `BackgroundTasks`, longer ones with Celery in a background worker.

> [card] [Caching](https://docs.sevalla.com/guides/python/fastapi/caching.md)
>
> Cache responses in a Redis database, and control the CDN and edge cache.

> [card] [Health checks](https://docs.sevalla.com/guides/python/fastapi/health-checks.md)
>
> Readiness and liveness endpoints for zero-downtime deployments.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.