Query templates
The only paths to your data. Templates are parameterized, reviewed, and bounded — the model can choose a template, never invent SQL.
Templates
4
3 approved · 1 draft
Executions · 7d
2,184
+9.2%all bounded
p95 duration
1.2 s
within 20s timeout
Blocked queries
0
last 30 days
| Template | Dataset | Parameters | Limits | Status | |
|---|---|---|---|---|---|
revenue_by_team_range owner: Daniel Okafor | Billing replica | start_date, end_date, granularity | 5,000 rows · 20 s | approved | |
delayed_orders owner: Daniel Okafor | Orders replica | since_hours, min_age_hours | 500 rows · 15 s | approved | |
mrr_movement owner: Daniel Okafor | Billing replica | month | 1,000 rows · 20 s | approved | |
fleet_utilization owner: Daniel Okafor | AIO fleet API | day, account_id | 2,000 rows · 30 s | Draft |
Draft templates cannot be selected by agents or reports until an admin approves them.
Execution guardrails
Statement typeSELECT only
Parameter bindingRequired for all inputs ($1, $2)
Row limitEnforced max 500 rows
Timeout limitHard killed at 20 seconds
Schema driftQueries paused on column mismatch
Active connections
ManageBilling replica
42 msOrders replica
38 msAIO fleet API
1.8 s