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

# FastAPI

> Leverage FastAPI framework for endpoints, authentication, and HTTP communication in GenAI applications

## What is it

FastAPI is a modern, fast web framework for building APIs with Python 3.7+ based on standard Python type hints. It provides automatic API documentation, data validation, and serialization.

## Why we use it

The Launchpad uses FastAPI because of its tight integration with Pydantic for automatic data validation, built-in OpenAPI documentation generation, and excellent performance for asynchronous operations. Its dependency injection system makes it perfect for managing database sessions, authentication, and other shared resources.

## Where we use it

We just use it to create endpoints, which most of the times is used as the entry point for an event.

## Further Reading

For advanced FastAPI features, middleware, testing, and deployment options, refer to the [official FastAPI documentation](https://fastapi.tiangolo.com/).
