Skip to main content
When built-in metrics don’t cover your question, you can run SQL directly against ClickHouse. Tell scopes every query to your workspace and only allows SELECT — so you get full query power without risk of modifying data.

Quick start

From the CLI:
Or via the API:
You don’t need to worry about workspace isolation — Tell rewrites your query to scope it automatically.

Available tables

To discover tables and columns programmatically:

Example queries

Events by type in the last 7 days:
Error logs by service in the last 24 hours:
Users with multiple devices:

CLI output formats

The tell query command supports three output formats:

Security

Tell validates every query before execution:
  • SELECT onlyINSERT, UPDATE, DELETE, DROP, ALTER, and TRUNCATE are blocked
  • Workspace scoping — table references are rewritten to {workspace_id}.table_name automatically
  • No multi-statement — semicolons cannot separate multiple queries
  • Rate limited — 30 queries per minute via the API
CTEs (WITH ... AS), subqueries, and JOINs all work normally.

Limits

Set a custom limit with LIMIT in your query or "limit" in the API request body.