# 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](/opentext-documentum-edition-24.2/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: 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-24.2/session-window-dql-api-dql-script-api-script/api-view.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.
