Skip to content

Glossary: Building APIs with FastAPI

Query

Also written: Query(...)

The FastAPI function used inside `Annotated` to add rules to a query parameter, such as `Query(ge=1, le=50)`.

Where the book teaches it

Related terms

AnnotatedPath (validation)Query parameter