Publishing a data product
A data product in Qry is a curated, documented set of data that you publish for people, assistants and other systems to read. It holds one or more datasets, each a SQL query on one of your datasources. Qry Nexus is where data products are built.
A product has a lifecycle (draft → published → deprecated), a quality score, and its own access rules: nobody but you and the admins reads it until you grant access.
Goal
You finish this page with a published data product whose datasets are documented column by column and page reliably.
Prerequisites
- Nexus enabled for you. Admins can turn it off, or limit it to admins, in Admin Panel → AI & Models → Nexus Data Catalog.
- Access to the datasource the product will read. Every read of the product runs with your datasource access, as its owner.
Steps
1. Open Nexus
Click Nexus in the navigation, under Engineering. The explorer opens with the Discover view selected.

The left panel has two sections:
- Data Products — the products you can see, grouped by domain.
- API Gateway — API Clients for applications, and Connect an assistant for reading products from Claude or another MCP client.
2. Create the product
Click + next to Data Products, type a Product name and, optionally, a Domain, and click Create. The product is created as a draft and opens in the editor, with the tabs Overview, Datasets, Access and Activity.
On Overview, give it a Display name, Tags and a Description (Markdown; AI assist can draft one from the name, domain, datasets and tags). Optionally set a Freshness SLA: a maximum age in hours, measured on a timestamp column of one dataset.
3. Add a dataset
On Datasets, click Add dataset and fill in:
- Name — how readers ask for it, for example
orders_summary. - Datasource and SQL query — the schema browser on the left helps write it.
- Description — what the dataset contains.
Click Preview to run the query on its first 10 rows. The preview is also what tells Qry the dataset's columns.
4. Describe every column
After a preview, the Columns list shows each column with a field for what it means. Fill them in. Assistants reading the product rely on these descriptions instead of guessing from the column name: imp_neto means little to them, "Net amount in euros, VAT excluded" means what it says. Readers see the same descriptions in the product's schema.
5. Give the dataset a row key
The Row key is the column, or columns, that identify one row. Readers who fetch a dataset in pages get them sorted by the row key, so no page repeats or skips a row. Without one, the engine may return rows in a different order on each request, with no error, so a dataset without a row key is meant to be read in one request (up to 50,000 rows).
Click Suggest from the source and Qry proposes a key only where the query makes it certain:
- a query with a
GROUP BYof plain columns: one row per group, so theGROUP BYcolumns; - a query over a single table whose primary key Qry can read: that key, provided all its columns are in the dataset's output.
For a query that joins, unions or computes its rows, it proposes nothing and says why. You can also choose the columns yourself.
6. Set quality expectations (optional)
Add rules on the dataset's columns (not null, unique, a range, a list of values) and choose the Enforcement:
- Warn — serve the data and report the failing rules.
- Fail — serve nothing while any rule fails, through the gateway, assistants and exports alike.
Click Save dataset. Repeat for each dataset.
7. Check readiness and publish
The Overview shows a readiness checklist. To publish lists what a product cannot go out without:
- a display name;
- a description of what it holds;
- at least one dataset.
What makes it easy to use lists what readers, and the assistants they use, will miss if it is not there:
- every dataset described;
- every dataset's columns known (run its preview);
- every column described;
- a row key on every dataset (stable pages);
- quality expectations;
- a freshness SLA.
Click Publish. The product moves to published and appears in the catalogue of everyone you grant it to.
8. Share it
Publishing does not share the product with anyone. Open Access and grant it to people, groups or API clients; see Granting access.
Result
A published data product with documented columns and stable pages, ready to grant.
Designing products for assistants
People who read a product through an assistant (Claude, Antigravity) ask questions in their own words, and the assistant can only combine what a dataset already holds:
- Prepare the joins. An assistant reads one dataset at a time and cannot join two. If the question is "orders by country", publish a dataset that already has the country next to each order.
- Prefer what the questions need over whole tables. A dataset aggregated to the level people analyse (per service and day, per centre and month) is faster, cheaper and safer than a raw table. An export of more than 100,000 rows is refused.
- Keep dates as dates. The assistant can group a date column by year, quarter, month, week or day in the database; a date stored as text cannot be.
- Describe every column, above all codes and amounts: the assistant relies on the description rather than guessing from the name.
- Check the row key is unique. A dataset whose key repeats double-counts anything combined with it, and nothing in the answer says so. A quality expectation on uniqueness catches it.
What readers see
Readers see published products only. For each product they get its description, datasets, column descriptions and quality results. They never see the datasets' SQL, their datasource or the product's grants. Drafts and deprecated products stay visible only to you and the admins.
Common issues
Publish is disabled. One of the checklist's To publish items is missing; hovering the button lists which.
Suggest from the source finds no key. The message says why. For a single table, name it with its schema so Qry can read its primary key. For joins and computed rows, choose the key yourself, or leave it empty if the dataset is small enough to read in one request.
The Columns list does not appear. Run Preview: the columns are read from it.
A reader gets no data and the product shows failing rules. The dataset's enforcement is Fail. Fix the data, or switch it to Warn.
See also
- Granting access — who reads the product and with which restrictions.
- Connect an assistant — reading products from Claude.
- Consuming via API — applications and the gateway.
- Qry Nexus reference — the full feature overview.