> For the complete documentation index, see [llms.txt](https://docs.nexos.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexos.ai/workspace/chat/file-previews.md).

# File Previews

### File previews

File previews let you open supported files directly inside nexos.ai without leaving your workspace. This makes it easier to quickly review generated files before downloading or sharing them.

### How it works

When a supported file is generated in nexos.ai, you can select it to open a preview inside the platform. The preview loads automatically, so you can read the file right away.

File previews are available for:

* HTML
* PDF
* TXT
* PNG
* XLSX
* CSV
* PPTX
* DOCX

### Why it’s useful

File previews help you review output faster without downloading every file first. This is especially useful when you want to quickly check reports, presentations, documents, or spreadsheets before continuing your work.

### How to use it

1. Generate or open a supported file in nexos.ai.
2. Select the file.
3. The preview opens automatically inside the workspace.

<figure><img src="/files/HLilrG8rbS3DmDFOx4Op" alt="" width="563"><figcaption></figcaption></figure>

### Where it works

File previews are available in:

* Chat
* Agents
* Agent Drafts
* Projects

### What to know

* File previews are **read-only**
* You can view supported files directly in the platform, but not edit them from the preview


---

# 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.nexos.ai/workspace/chat/file-previews.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.
