# API View

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

![The API View](https://748143113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ9QWGdnSQRxjUz4KkCwk%2Fuploads%2FRVAz4YnO3jlfFWGxkhmn%2FThe%20API%20View.PNG?alt=media\&token=21061da0-40a3-48d9-b328-5d64dc98c7f4)

&#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](https://docs.dqman.com/opentext-documentum-edition-23.1/object-navigator "mention"))

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 ![](https://748143113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ9QWGdnSQRxjUz4KkCwk%2Fuploads%2FiULZxkdea3zLqlWUAunL%2FAPI%20command%20button.png?alt=media\&token=f146c53d-54aa-4197-8b03-63b929c9006f) 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>
