> For the complete documentation index, see [llms.txt](https://docs.dqman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dqman.com/dqman-opentext-documentum-22.1/session-window-dql-api-dql-script-api-script/api-view.md).

# API View

In **API View**, you can execute API commands.

![The API View](/files/iq1cUsWH7n7Ds5lJG7wM)

&#x20;To execute an API command, do any of the following:&#x20;

* Press Enter
* Press F9&#x20;
* Press Shift+Enter&#x20;
* In the **Edit** menu, select **Run**&#x20;
* Click the **Run** button on the toolbar.

Double-click an element in the result log to copy the value to the clipboard. Press Ctrl when double-clicking to paste the value into the active input control at the current cursor position.

Click and hold the left mouse button for 1 second on any value representing a valid Documentum r\_object\_id to load the respective object into the Object Navigator (see [Object Navigator](/dqman-opentext-documentum-22.1/object-navigator.md))

Certain API commands can be executed without a connected session (such as `getservermap`, `getdocbrokermap` or `connect`).

To open the API command help, click the **API Command Help** button ![](/files/thOfHFoFm4Mx61MVglu5) to the right of the **Command** field. You can then search for API commands or you can insert a command by double-clicking the command input field.

The context menu of the result log contains some additional functionality:

<table><thead><tr><th width="210">Menu item</th><th>What It Does</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Dump Object</strong></td><td>Creates a dump of an <code>r_object_id</code>.</td><td></td></tr><tr><td><strong>Open File</strong></td><td>Opens the file if a full filename is supplied in the log, for example after a <code>getfile</code> command.</td><td></td></tr><tr><td><strong>Login as…</strong></td><td>Opens a new session with the login ticket data under the cursor <em>after a</em> <code>getlogin</code> command.</td><td></td></tr></tbody></table>


---

# 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.dqman.com/dqman-opentext-documentum-22.1/session-window-dql-api-dql-script-api-script/api-view.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.
