Qualys doesn't support the python module "qualysapi" (GitHub - paragbaxi/qualysapi: Qualys API connector. ). This was created by a Qualys admin looking to automate some things (paragbaxi on github). I would suggest you start with the "example" page on the github for the python module (qualysapi/examples at master · paragbaxi/qualysapi · GitHub ). If that doesn't help, you could either try and reach out to the module created or one of the contributors on github or review the source code, attempt to create your own solution, and if you figure it out pull the code and do a commit with a new example for them to review and potentially publish.

Thanks! I've moved away from woring with the qualysapi module now. I'm just using the built-in requests module with Python. I would still like to know if there is a way to list all Asset IDs.

Basically I need to know how to send the 'criteria' in the query using python.

According to this answered question here, this can be done with a POST request and XML criteria. The answer shows an example using POSTMAN. But I am not sure how to send 'criteria' using the python requests module.