# Session Window: DQL, API, DQL Script/API Script

Once logged in, you can work in the Session Window in any of the following editors/views:

![Session Window View Options](/files/7eqDFCFHjuiOza8Vwik2)

* [**DQL**](/opentext-documentum-edition-23.1/session-window-dql-api-dql-script-api-script/dql-view.md): DQL code editor/view&#x20;
* [**API**](/opentext-documentum-edition-23.1/session-window-dql-api-dql-script-api-script/api-view.md): API command view&#x20;
* [**DQL Script**](/opentext-documentum-edition-23.1/session-window-dql-api-dql-script-api-script/dql-api-script-view.md): DQL script editor/view&#x20;
* [**API Script**](/opentext-documentum-edition-23.1/session-window-dql-api-dql-script-api-script/dql-api-script-view.md): API script editor/view

You can switch anytime between these views using the above toolbar buttons or the **View** menu. Changing the view does not delete any existing commands or results in other views; moreover, during script debugging, you can execute commands in other views without stopping the debug process.

The tab color can be set at each session for each user to be different. This setting is preserved after restarting dqMan. A user can set only one color on a repository. A user can reset the color at any time. Each user can have a different color on the same repository. A user can have several open repositories, each with a specific color set by the user.

<figure><img src="/files/LKtEKXrvwf89YmqeHe32" alt=""><figcaption><p>The color set for each session</p></figcaption></figure>

You can use the below toolbar buttons to execute your DQL queries/API commands/scripts. It is possible to run/step into/pause/stop DQL queries/API commands/scripts.

![Toolbar buttons](/files/La9MvsGT6g6FXwFIBze9)

{% hint style="info" %}
Note that some of the above commands may not be available depending on the type of code being executed and/or if execution times are too short for the user to interact with the buttons during runtime.
{% endhint %}


---

# 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/opentext-documentum-edition-23.1/session-window-dql-api-dql-script-api-script.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.
