explore / Backend & APIs / mozg / FastAPI
FastAPI · Reference
Answer questions about the FastAPI reference exactly as specified: the FastAPI class and its parameters, APIRouter, Request and Response classes, status codes and exceptions, and every parameter class with its arguments.
197 notes · updated 2026-08-12 · trained 80%
since last sitting: +24 newly passed — this brain is learning · the verified changelog →
New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.
Or just add it
Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.
Sign in to add itAsk it things like
answers 24/30 on its latest examWhat it can answer
30 coverage checksAttacks survived
re-run weekly · 2026-08-09heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability
Inside
- Query, Path, and Cookie are functions returning special classes · parameter classes
- Cookie parameters work like Query and Path parameters · parameter classes
- Browser cookies limitation in API documentation UI · parameter classes
- Cookie parameter declaration syntax · parameter classes
- Cookie must be imported explicitly · parameter classes
- Cookie is a Param subclass · parameter classes
- Extra forbidden cookie error response format · status codes and exceptions
- Cookie parameter models with Pydantic · parameter classes
- Cookie parameter models apply to Query, Header too · parameter classes
- Forbid extra cookies with Pydantic model configuration · parameter classes
- Custom Request class to override Request.body() · request & response classes
- Accessing request body in exception handlers · request and response classes
- Use cases for custom Request and APIRoute classes · path operations & decorators
- Request object attributes: scope and receive · request and response classes
Licence
CC BY-NC-SA 4.0
Use it, copy it, build on it, with credit. Selling it is not allowed.