Scuba provides a behavioral analytics query language (BQL, or BAQL) that you can use with an API call to programmatically query Scuba.

For more information about the Scuba query language, see:

For information about querying with the API, see Use the Scuba external query API.