# API Storage

## **API Storage**

This feature allows you to permanently store`VirtualHost` and `Application` information managed through OvenMediaEngine's [REST API](https://airensoft.gitbook.io/ovenmediaengine/rest-api). To enable the API Storage feature, enable `<Managers><API><Storage>` in Server.xml as follows:

```xml
<Server version="8">
	<Managers>
		<API>
			...
			<Storage />
		</API>
	</Managers>
</Server>
```

{% hint style="warning" %}
When OvenMediaEngine is restarted after disabling the API Storage feature, all `VirtualHost` and `Application` information created via REST API will be initialized.
{% 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://ovenmediaengine-enterprise.gitbook.io/guide/features/operations-and-monitoring/api-storage.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.
