Scuba provides a behavioral analytics query language (BAQL) that you can use with an API call to programmatically query Scuba.
For more information about the Scuba query language, see:
- Scuba query concepts for BAQL users for a discussion of how Scuba queries work, and examples of how to create these types of queries using BAQL.
- BAQL syntax and usage for a description of BAQL building blocks and examples of common Scuba queries from the UI translated into BAQL.
- BAQL vs. SQL comparison for similarities and differences between BAQL and SQL concepts.
For information about querying with the API, see Use the Scuba external query API.