Sample databases

QueryDesk Cloud hosts three sample databases of fake data: Lumen Payments, Cartwheel and Orbit. Add them when you create your organization and you can run a query, or ask your AI agent a question, without connecting a database of your own first. There is nothing to set up.


Add them

QueryDesk offers the sample databases once, right after you name a new organization on QueryDesk Cloud:

  1. Enter an Organization name and click Continue.
  2. Under Start with sample data, all three are chosen. Uncheck any you don't want, then click Add 3 sample databases. Skip goes on without them, and Connect my own database instead opens New database.
  3. Under Connect your AI agent, follow the steps for your client, then click Go to QueryDesk. I'll connect an agent later skips this step.

If you started from an AI app, such as Claude, step 3 is approving that app instead. Add, Skip and Connect my own database instead all lead to its approval screen, which lists the databases the app will reach. Its Connect a database link opens New database in a new tab.

The samples you added are listed on the Databases page with a Sample badge. Every member of your organization can query them.

A self-hosted install has no sample databases.


What they hold

Every name, card, order and account in them is fabricated, and their dates move forward every day, so "the last 30 days" always has data.

DatabaseWhat it isTables
Lumen PaymentsA consumer card companycustomers, cards, transactions, disputes, payouts
CartwheelAn online home and outdoor storeproducts, warehouses, inventory, orders, line_items, returns
OrbitA B2B SaaS product's own billing and usageplans, accounts, users, subscriptions, invoices, product_events, support_tickets

Some questions to start with, in the editor or from your agent:

  • Lumen Payments: "What share of transactions were declined in the last 7 days, by merchant category?"
  • Cartwheel: "Which SKUs are at or below their reorder point, and at which warehouses?"
  • Orbit: "How has MRR changed month over month over the last year?"

Read only

On a sample database, QueryDesk runs only queries that read data: SELECT, SHOW and EXPLAIN. Anything that writes, opens a transaction or changes a setting is refused before it reaches the database. QueryDesk records the refused query in the audit log as failed with the reason. That includes:

  • INSERT, UPDATE, DELETE and every schema change.
  • BEGIN, COMMIT, SET and other transaction or session statements.
  • Functions that change something, such as set_config, pg_cancel_backend, pg_terminate_backend and the large-object functions.

The same holds for queries from the editor, the table view, dashboards, workflows, shared queries, AI agents and database clients. The query editor has no Transaction button on a sample database, and the table view doesn't edit its rows. Database clients connect to a sample database as demo-readonly.

The QueryDesk CLI answers BEGIN, COMMIT and SET itself, without sending them to QueryDesk. It refuses BEGIN, accepts the others without reaching the database, and none of the three is recorded in the audit log.

QueryDesk manages each sample's connection. Its settings page shows the database user, demo-readonly, which needs no review, AI access Read only, and that it runs read-only statements. It has no setting to change, and its host, password and certificate are never shown. The API refuses an update to one with a 422.


AI agents and personal data

Each sample is read only for AI, so your agent's queries run in a read-only transaction. Each one also comes with a data protection policy named Personal data as its AI data protection policy. It hides the columns of fake personal data from every AI query, such as email, phone and full_name, keeps only the structure of metadata and shipping_address, and shows every other column. An agent asked for customers' email addresses on Lumen Payments gets *** in their place, and still sees amounts, dates and statuses.

The policy and its rules are like any other. A super admin can change them on the Data protection page. Your own queries in the editor aren't governed by it and show these columns.


Remove one

Open the sample's settings from the Databases page, then choose Actions > Remove database. Nobody in your organization can query it once it's removed, and agents no longer see it. Queries that already ran on it stay in the audit log. Removing it in your organization doesn't affect anyone else's.

Was this page helpful?