> For the complete documentation index, see [llms.txt](https://docs.phocassoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.phocassoftware.com/workspaces/work-with-results.md).

# Work with results

Analyze, download, or visualize the data returned in a response.

### Analyze or download the grid data

When a response includes a grid, you can download and analyze the data in contains.

<div align="left"><figure><img src="https://900295827-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7pj8v25BOyqZTdG5mdD1%2Fuploads%2F40LSKcBfk309abEXqbzm%2Fimage.png?alt=media&#x26;token=381632fc-4952-413b-ba48-848091b53fb4" alt=""><figcaption></figcaption></figure></div>

Click **Analyze** to open the underlying data in Flex Modes, where you can:

* Validate the AI-generated response.
* Explore the data further using the Flex Modes tools, for example you might want to apply additional filters. You can also save the [view as a favorite](/flex-modes/save-and-share-your-work/save-and-share-favorites.md) or add it as a widget on a dashboard.

<figure><img src="https://900295827-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7pj8v25BOyqZTdG5mdD1%2Fuploads%2FKt3YOlfSFKToGztAHbi0%2Fimage.png?alt=media&#x26;token=628ef77f-b0d4-475e-93b3-10b8d4a992cb" alt=""><figcaption></figcaption></figure>

Click the **Download** button to download the grid in SGV format, which opens in a new browser tab.

<div align="left"><figure><img src="https://900295827-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7pj8v25BOyqZTdG5mdD1%2Fuploads%2Ft17bNTJ0eNx5AC6Hcz8T%2Fimage.png?alt=media&#x26;token=ba04c0a3-4f6e-48e6-ac93-b6a232eb8392" alt="" width="563"><figcaption></figcaption></figure></div>

### Create a chart

When a response includes a grid, you can ask a follow-up question to convert the grid into a chart, so you can visualize the data instead.

For example, ask something like *Put it in a bar chart* or *Make me a pie chart*.

You can also ask for a chart in your initial question. If you're not sure what type of chart you want, ask for a generic chart to get started.

<div align="left"><figure><img src="https://900295827-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7pj8v25BOyqZTdG5mdD1%2Fuploads%2Fgit-blob-e61ee8c9f6f679ef41388d96a27b719dc00297a1%2Fimage%20(691).png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

You can then edit your question (see below) to ask for a specific type of chart.

<div align="left"><figure><img src="https://900295827-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7pj8v25BOyqZTdG5mdD1%2Fuploads%2Fgit-blob-1cab8c63eb7a49bc0c1739e76d1e260eb6a273f0%2Fimage%20(694).png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

Ask the chat for a list of chart types and try them all out.

<div align="left"><figure><img src="https://900295827-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7pj8v25BOyqZTdG5mdD1%2Fuploads%2Fgit-blob-0d292d3dd9d495da7bc923c75661eeb52a8a2fac%2Fimage%20(695).png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>


---

# 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.phocassoftware.com/workspaces/work-with-results.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.
