# VQL Execution History

The **History** records all successfully executed VQL statements for further use. The toolbar buttons below allow the VQL execution history tobe navigated, as well as the **History Panel** to be toggled.

![History controls](https://content.gitbook.com/content/ZAlbNARht4RHSNfXxSoE/blobs/FGXrMr11SEmKN0VGRoD9/History%20toolbar.png)

Clicking **Back** or **Next** loads the corresponding query into the input control, replacing the existing content.

The **History** **Panel** displays all recorded commands in a list.

To copy a command, either double-click it or use drag-and-drop. The content of the target input area will be replaced, unless a part of it has been selected.

Copying a command to a script view will insert the command at the current cursor position without overwriting the existing content, unless something is selected.

The **History Panel** is displayed on the left side of the session window by default, but it can be moved around and anchored in different places of the session window.


---

# Agent Instructions: 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:

```
GET https://docs.dqman.com/veeva-vault-edition-23.2/vql-execution-history.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
