Pytest API Automation: Turn API definitions into sustainable CI regression

Build isolated pytest API checks with clear fixtures, client calls, and failure assertions while keeping external dependencies outside the test boundary.