hiddenlayerai/hiddenlayer-sdk-python ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python SDK for the HiddenLayer REST API that feels easy to use in real projects.
I want a clean package people can install and import, with both normal and async clients, and it should work with Python 3.9 or newer. The library should handle authentication with a bearer token, support choosing an environment like US or EU, and make common API calls like analyzing interactions and listing model data. Please include typed request and response objects so users get good autocomplete in their editor, and make list endpoints automatically handle pagination so people can loop through all results without extra work.
It should also raise clear errors for connection problems, bad requests, auth issues, rate limits, and other API failures. If there are any beta endpoints, keep them supported but make it clear they are not guaranteed to stay stable. Look up the current API docs online if you need to, and make sure the examples in the README actually work.
Are you gonna build this?
make sure you review the code using arcumet