Kontext Notebooks are interactive analysis documents for project-scoped narrative, SQL, code, and charts. Current support on this page reflects the notebook block schema and project-scoped query flow available in Kontext.

Reference
| Capability | Support |
|---|---|
| Block types | Narrative (paragraph, header, list, quote), code, table, sql, mermaid, chart, image blocks |
| Data context | Project lakehouse and connected catalogs |
| Typical inputs | Direct SQL work or agent-generated analysis |
| Typical outputs | Reusable analysis documents, SQL results, and charts |
SQL Execution
Execute SQL queries directly within notebook blocks:
SELECT
customer_segment,
COUNT(*) as customer_count,
AVG(total_spend) as avg_spend
FROM customers
WHERE signup_date >= '2024-01-01'
GROUP BY customer_segment
ORDER BY avg_spend DESC;
- Project-scoped execution
- Catalog and lakehouse data support
- Chart blocks from SQL results
Available In
| Surface | Usage |
|---|---|
| Project workspaces | Create and open notebook artifacts for analysis |
| SQL workflows | Store project-scoped SQL and chart outputs together |
| Data Agent handoff | Save agent-generated analysis as reusable notebooks |