> For the complete documentation index, see [llms.txt](https://docs.e6data.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.e6data.com/product-documentation/notebook/data-preview.md).

# Data Preview

The Data Preview feature generates a query that returns the first 10 records of a table or column. This gives users a quick glimpse of what data is present before writing a query.

To generate a Data Preview, follow the steps below:

* In the Schema Explorer, hover over any table or column name.
* Click the kebab (3 dots) icon that appears.
* Click **Data Preview**
* A new tab will open, displaying the first 10 rows of the selected table or column.

{% hint style="info" %}
Ensure that an active cluster is selected before generating a Data Preview
{% endhint %}

{% hint style="warning" %}
Do not write your final query in the tab opened using Data Preview as it will not auto-save, and there is a risk of losing work.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.e6data.com/product-documentation/notebook/data-preview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
