/repos/{owner}/{repo}/automated-security-fixes allows for GET, PUT and DELETE.
PUT (enable_automated_security_fixes) and DELETE (disable_automated_security_fixes) are implemented while GET seemingly isn't.
GitHub API docs: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#check-if-automated-security-fixes-are-enabled-for-a-repository
Best regards and thanks for this project :)