> 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="https://4112003433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDcOhapgXnoeDvgGQ8Jm4%2Fuploads%2FxnL9qBapFqUJjtkyQezJ%2FScreenRecording2026-05-27at16.12.491-ezgif.com-video-to-gif-converter.gif?alt=media&amp;token=4d517337-f5c2-4076-99d6-dc0e29234328" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nexos.ai/workspace/chat/file-previews.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
