FastAPI

Response model

A Pydantic model declaring exactly what a route returns; fields not declared are stripped.

Why interviewers ask about it

The filtering is a security feature - returning an ORM object with a password_hash is harmless if the response model does not declare it.

This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.