# Info System

The Info System provides structured metadata for OMS components.

It is used for diagnostics, status reporting, and external inspection.

***

### Overview

The Info System is responsible for:

* exposing component state as structured data
* providing consistent diagnostics format
* supporting logging and integrations

Information is exposed as read-only snapshots.

***

### Core Types

#### OmsInfo

`OmsInfo` represents structured metadata as key-value data.

{% @github-files/github-code-block url="<https://github.com/c0nnor263/OperateMyServer/blob/main/oms-api/src/main/kotlin/io/conboi/oms/api/foundation/info/OmsInfo.kt>" %}

***

#### InfoProvider

`InfoProvider` exposes information snapshots for a component.

{% @github-files/github-code-block url="<https://github.com/c0nnor263/OperateMyServer/blob/main/oms-api/src/main/kotlin/io/conboi/oms/api/foundation/info/InfoProvider.kt>" %}

***

### Usage

The Info System is used to:

* inspect feature and manager state
* provide diagnostic output
* expose data for external systems

Each component provides its own snapshot through `info()`.

***

### Notes

* Information is read-only
* Snapshots represent current state
* Used across features, managers, and configs
* Data is structured as key-value pairs


---

# 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://conboi.gitbook.io/oms-wiki/developer-guide/runtime-infrastructure/info-system.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.
