> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/user-documentation/the-case-tab/previewing-a-document.md).

# Previewing a Document

<figure><img src="/files/sNlbxmrWF7hteJbANf1r" alt=""><figcaption></figcaption></figure>

This lesson will show you how to preview a document you have created in AgileCase.

## Opening a document preview

<figure><img src="/files/ychWqDIc6ENwPmCRUgg6" alt=""><figcaption></figcaption></figure>

It is possible to preview any documents created in AgileCase. This allows you to view your documents before downloading them to a local computer.

To preview a document, open the relevant dropdown menu and click the "Preview" button.

## Previewing a document

The document preview will open in a new window. This allows you to view that document as it will appear when downloaded.

Once you have finished previewing your document, click the "Close" button to close the preview and continue using the system.


---

# 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.agilecase.com/user-documentation/the-case-tab/previewing-a-document.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.
