Surely, you could query the SQL DB directly, or use the API and SWQL to do so. Some script examples are available in our SDK: Orion SDK Information
Clik here to view.

Surely, you could query the SQL DB directly, or use the API and SWQL to do so. Some script examples are available in our SDK: Orion SDK Information