Early Access — SbQL and the Insights API are currently available to select organizations. Reach out to your Sessionboard account manager to get early access to this feature.
Basic Syntax
SbQL follows standard SELECT-FROM-WHERE patterns:Joins and Aggregations
Join entities to combine related data and use aggregate functions for analytics:Filtering with Conditions
Use standard comparison operators and logical connectives:Schema Discovery
Use the Insights schema endpoints to discover the entities and fields available for your organization:- Organization schema:
GET /v1/insights/schemareturns all available entities and their fields. - Event schema:
GET /v1/insights/event/{eventId}/schemareturns entities and fields scoped to a specific event.
Natural Language to SbQL
If you prefer to write queries in plain English, use thePOST /v1/insights/ai/generate endpoint to convert natural language into SbQL. For example, sending “How many sessions are in each track?” will return a valid SbQL query that you can execute directly.
