Ask your data: plain-language questions, answers with SQL

Type a question such as “revenue per customer, descending”. An AI language model writes the SQL, Obseria runs it read-only and shows the result, a chart and the SQL behind it.

AI chat in Obseria with quick-start suggestions and a step-by-step result panel
Query builder in Obseria with chart, run query and the generated SQL
Workflow list in Obseria with schedule, last run, next run and status
Languages
Questions and answers in English or German
Answer
Explanation, SQL, table and chart
Execution
Read-only, only your organization's tables
Next steps
Editor, saved query, table or scheduled report
Product tour

How your team works with Ask your data

Views of the Data area itself will follow. Until then, these screenshots show related views of the Obseria platform: an AI chat, the query builder, saved views, dashboards and workflows.
01 / 05

An AI chat with quick-start suggestions

The screenshot shows an AI chat in Obseria that guides an integration setup. Ask in Obseria Data uses the same conversation style for questions about your tables.

  • Questions in English or German
  • Follow-up questions
  • Suggestions to get started
An AI chat with quick-start suggestions
02 / 05

A query builder with chart and generated SQL

The screenshot shows the query builder in Obseria with its generated SQL. In Ask, every answer shows the SQL the model wrote, next to the result and the chart.

  • Explanation and assumptions
  • Copy or open in the editor
  • Bar, line or number
Learn more
A query builder with chart and generated SQL
03 / 05

Saved views with pages, time ranges and creation date

The screenshot shows saved views in Obseria. An answer from Ask is saved the same way as a query, with the question as its name and the explanation as its description.

  • Save as query
  • Save as table
  • Reuse in dashboards
Learn more
Saved views with pages, time ranges and creation date
04 / 05

Dashboards with live panels and auto-refresh

The screenshot shows observability dashboards in Obseria. Business dashboards in Obseria Data can start a tile from a saved answer, so Ask, save and add to dashboard take three clicks.

  • Tile from a saved query
  • Number, bar, line or table
  • Auto-refresh
Learn more
Dashboards with live panels and auto-refresh
05 / 05

Workflows with schedule, last run and status

The screenshot shows a workflow list in Obseria. From an answer, Ask builds a workflow that runs the query every weekday at 07:00 UTC and emails the result as CSV when there are rows.

  • Schedule in UTC
  • CSV attachment
  • Email channel and recipients to add
Learn more
Workflows with schedule, last run and status
Capabilities

Answers for everyone, SQL for those who check

Questions, the SQL editor, saved queries and dashboards work on the same tables, so a good answer becomes a saved query, a table or a report in one click.
Ask in plain language

Ask in plain language

A question in plain language becomes SQL, a result and a chart, written by an AI language model. The SQL is always shown and can be opened in the editor or saved.

Dashboards

Dashboards

Dashboards from tiles: pick table, value, grouping and filters, or write SQL; show it as number, bar chart, line chart or table, with width, height and auto-refresh.

Learn more →
  • SQL editor
  • Workflows and API
  • Data tables
How it works

From a question to a figure you can rely on

Five steps from the first question to a report that runs on its own.
  1. ?
    Revenue per customer, descendingQuestion in plain language
    01

    Ask

    Type a question in English or German, or start from a suggestion such as “revenue per customer, descending”.

  2. Generated SQL · shown
    02

    Read the answer

    See a short explanation, the result as a table and a chart, and the SQL the model wrote.

  3. Result and bar chart
    03

    Refine

    Ask a follow-up such as “only this year” or “per month”. The conversation keeps the context.

    • Open in editor
    • Save as query
    • Save as table
    04

    Check the SQL

    Open the query in the SQL editor, adjust it if needed, and save it under a name.

  4. Mon–Fri
    Report: revenue per customer07:00 UTC · CSV by email
    Workflow built
    05

    Make it recurring

    Save the result as a table, add it to a dashboard or build a workflow that emails it every weekday.

In depth

How Ask your data works

Conversation

Ask like you would ask a colleague

Ask is a conversation. You type a question, the answer appears below it, and the next question can build on the last one: “now per month”, “only open invoices”, “top 10 only”. The model answers in the language of the question, English or German.

When you start, Ask shows which tables are available and offers suggestions, for example how many rows each table has, revenue per customer or the latest orders. Without tables, it points you to importing a file or setting up a sync first.

If a question cannot be answered from your tables, the model returns no query and says what is missing instead of guessing.

  • Questions in English or German
  • Follow-up questions keep the context
  • Suggestions and list of available tables
  • No query when data is missing
Transparency

Every answer shows its SQL

Each answer has three parts: a short explanation of what the query does and any assumption it makes, the generated SQL with a copy button, and the result as a table and, where it fits, a bar chart, a line chart or a single number.

Because the SQL is always shown, anyone who reads SQL can confirm what was calculated. With one click the query opens in the SQL editor, where it can be changed, run again and saved.

The result table in the conversation shows up to 200 rows, with the total row count and the time the query took.

  • Explanation of the query and its assumptions
  • Generated SQL with copy button
  • Table plus bar, line or number
  • Open in the SQL editor with one click
Data and execution

What the model sees, and where the query runs

To write the SQL, the language model receives your question, the previous messages of the conversation and a description of your tables: table names, row counts, column names and types, and one shortened sample row per table. It does not receive your full tables.

The model only writes the query. The query runs inside Obseria Data under the same rules as the SQL editor: read statements only, only the tables of your organization. If the query fails, the model gets the error message and one attempt to correct it.

Answers are generated by an AI language model and can be wrong. Check the SQL before a figure is used for decisions or reports.

  • Schema plus one short sample row per table
  • Query runs read-only in Obseria
  • Only your organization's tables
  • One automatic correction attempt
Next steps

From an answer to a saved query, a table or a report

Below each answer with SQL are four actions. Open in editor takes the query to the SQL editor. Save as query stores it with the question as its name and the explanation as its description, ready for dashboard tiles. Save as table opens the editor with the query, ready to store the result as a table of its own.

Build a workflow from it creates a scheduled workflow in Obseria Workflow: every weekday at 07:00 UTC it runs the query, and if there are rows it creates a CSV file and sends it by email. You then add the email channel and the recipients and switch it on.

  • Open in the SQL editor
  • Save as query or as table
  • Weekday email report with CSV
  • Report only sent when there are rows
Integrations

Ask across the data you have brought together

Questions work on every table in Obseria Data: from file imports, scheduled syncs, workflows and the API, including SQL syncs from PostgreSQL and MySQL.
  • PostgreSQL
  • MySQL
  • GitHub
  • Jira
Guide

Natural language to SQL explained: asking business data questions

What natural language to SQL means

Natural language to SQL, often called text to SQL, lets people ask a database a question in their own words: “Revenue per customer this quarter” or “Which invoices are open and older than 30 days?”. A language model reads the question together with a description of the tables and writes the SQL query that answers it. The query runs, and the person gets a table and, where it fits, a chart.

For business data this closes a long-standing gap. The data is often already in one place, but only a few people can write SQL. Everyone else waits for a report or builds one by hand in a spreadsheet. With questions in plain language, a sales lead, a controller or an office manager can get a first answer in seconds.

How asking your data works, step by step

  1. The question. You type a question in English or German, as you would ask a colleague.
  2. The context. The model receives the question together with the table names, the number of rows, the column names and types, and a short sample row per table. It needs this to know that revenue lives in invoices.amount and the customer name in invoices.customer.
  3. The query. The model answers with a SQL query, a short explanation of what it does and a suggestion for the chart type.
  4. The result. The query runs inside the data platform, read-only, and the result appears as a table and chart.
  5. The follow-up. “Only customers in Germany” or “now per month” refines the previous answer in the same conversation.

AI data analysis you can check: why the SQL must be visible

Language models are good at writing SQL, but they are not infallible. A model can pick the wrong column, forget a filter or misread “last quarter”. An answer you cannot check is an opinion, not a number. That is why a trustworthy AI data analysis tool always shows the generated SQL next to the result, explains in one to three sentences what the query does and which assumptions it made, and lets anyone who reads SQL open the query in an editor and adjust it.

A practical rule: use plain-language answers freely for exploration. Before a figure goes into a board report or an invoice, have someone check the SQL once and save it as a named query. From then on, the saved query is the definition, not the model's next guess.

Data privacy: what the language model sees

Before using any text-to-SQL feature, ask what leaves your platform. There are three common designs. In the weakest, the whole dataset is sent to the model. In a better one, only the schema is sent. A practical middle ground sends the schema plus a very small sample, because column names alone are often ambiguous: a sample shows whether status contains “open” or “offen”.

Equally important is where the query runs. In a good setup, the model only writes the SQL; the query itself runs inside your data platform under a read-only user, and only your own tables are reachable. The model never gets direct access to the database.

How to ask good questions of business data

  • Name the measure. “Revenue”, “number of orders” or “average basket” is clearer than “how are we doing”.
  • Name the grouping. “per customer”, “per month” or “per product” tells the model what goes on the x axis.
  • Name the period. “in the last 90 days” or “in 2026” avoids a silent default.
  • Use the words in your tables. If the table is called invoices, “invoices” works better than “bills”.
  • Refine step by step. Start broad, then narrow down with follow-up questions instead of writing one long sentence.

From a good answer to a recurring report

Many questions are asked more than once. Once an answer is right, it should not have to be asked again every Monday. Save it as a query so it appears in the SQL editor and can feed a dashboard tile. Save the result as a table when other reports or workflows should build on it. Or turn the question into a scheduled report that runs on its own and sends the result by email.

Over time this builds a small library of checked queries that the whole team relies on. New questions start in plain language; what proves useful is saved, named and described. The language model stays a fast way in, and the saved query becomes the reliable basis for reports and key figures.

Limits of text to SQL

  • It only knows your tables. If the data for a question is not in a table, the model cannot answer it, and it should say what is missing instead of guessing.
  • It does not know your definitions. Whether “revenue” means gross or net, with or without credit notes, is a business decision. Write it into the saved query.
  • It reads, it does not change. Questions are for analysis. Corrections to data belong in the source system or the table view.

How Ask in Obseria Data supports this

  • Conversation: questions in English or German, follow-up questions in the same conversation, suggestions to get started.
  • Transparent answers: a short explanation, the generated SQL with a copy button, the result as a table and a bar chart, line chart or single number.
  • Read-only execution: the SQL runs in Obseria Data under the same read-only, organization-scoped rules as the SQL editor. If it fails, the model gets the error message and one attempt to correct the query.
  • Next steps: open in the SQL editor, save as query, save as table, or build a workflow that runs the query every weekday morning and emails the result as a CSV file.

Questions are processed by an AI language model and billed as AI agent credits; see the pricing.

FAQ

Questions about Ask your data

Answers on features, setup and what is not included yet.
Contact us

Ask your data FAQ

An AI language model receives your question and a description of your tables and writes a SQL query. Obseria runs the query read-only on your tables and shows a short explanation, the SQL, the result and a chart.

The question, the earlier messages of the conversation, and a description of your tables: names, row counts, column names and types, and one shortened sample row per table. Your full tables are not sent. The query itself runs inside Obseria Data.

The SQL is always shown, so you can check exactly what was calculated. Language models can make mistakes, for example pick the wrong column. Before a figure goes into a report, check the SQL once and save it as a named query.

You can ask in English or German, and the explanation comes back in the language of the question. Table and column names stay as they are in your tables.

No. Generated queries run under the same rules as the SQL editor: read statements only, only your organization's tables.

Questions are processed by an AI language model and billed as AI agent credits. Tables, queries and dashboards in Obseria Data are priced separately by rows written and data stored. See pricing.

Contact

See Ask your data in action

In 30 minutes we show you how Obseria works in your environment and answer your questions on setup, privacy and pricing.

  • No obligation, free of charge
  • Usually answered within one business day
  • Data in the EU
Your contact
Your contactObseria team

* Required field. By submitting, you agree to the processing of your details as described in our Privacy Notice