# FastAPI flash cards: Apprentice level

13 FastAPI terms at the Apprentice level, as flash cards.

Updated: November 19, 2026

- [Study these as flash cards](https://www.ask-codey.com/decks/fastapi/2/flash)
- [Play Memory with them](https://www.ask-codey.com/games/memory?category=fastapi&level=2)

## Terms in this deck

- [async def](https://www.ask-codey.com/glossary/async-def): Declares an endpoint that can \`await\` slow work without blocking the server.
- [Automatic Validation](https://www.ask-codey.com/glossary/automatic-validation): Bad input is rejected with a clear 422 error before your code runs.
- [BaseModel](https://www.ask-codey.com/glossary/basemodel): The Pydantic base class for data models.
- [EmailStr](https://www.ask-codey.com/glossary/emailstr): Pydantic's type for an email address: text that must have the shape of one, an @ and a domain after it, though it can't tell whether the mailbox exists.
- [HTTPException](https://www.ask-codey.com/glossary/httpexception): Raised to send an error response with a status code and message.
- [OpenAPI](https://www.ask-codey.com/glossary/openapi): The standard API description FastAPI generates at \`/openapi.json\`.
- [Path Parameter](https://www.ask-codey.com/glossary/path-parameter): A changing part of the URL, converted and checked using its type hint.
- [Pydantic](https://www.ask-codey.com/glossary/pydantic): The library FastAPI uses to define and check data shapes.
- [Query Parameter](https://www.ask-codey.com/glossary/query-parameter): Function parameters read from the \`?key=value\` query string.
- [Request Body](https://www.ask-codey.com/glossary/request-body): The JSON a client sends, read into a Pydantic model.
- [Response Model](https://www.ask-codey.com/glossary/response-model): The shape an endpoint returns; extra fields are filtered out.
- [Status Code in FastAPI](https://www.ask-codey.com/glossary/status-code-in-fastapi): Set with \`status_code=\` on the decorator, such as 201 for created.
- [Type Hints in FastAPI](https://www.ask-codey.com/glossary/type-hints-in-fastapi): Type annotations FastAPI uses to check input and write docs.

[Read them in the glossary](https://www.ask-codey.com/glossary/subjects/fastapi/apprentice)

Source: https://www.ask-codey.com/decks/fastapi/apprentice
