Notebooks

Interactive analysis documents with narrative, SQL, code, and charts.

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.

Kontext Notebook Screenshot

Reference

CapabilitySupport
Block typesNarrative (paragraph, header, list, quote), code, table, sql, mermaid, chart, image blocks
Data contextProject lakehouse and connected catalogs
Typical inputsDirect SQL work or agent-generated analysis
Typical outputsReusable 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

SurfaceUsage
Project workspacesCreate and open notebook artifacts for analysis
SQL workflowsStore project-scoped SQL and chart outputs together
Data Agent handoffSave agent-generated analysis as reusable notebooks