# List checks

URL: https://docs.hanzo.ai/docs/openapi/o11y/get-o11y-infra-monitoring-checks

> Reports whether the metrics and attributes an infra-monitoring section needs are being received — for each collector receiver or processor involved, what is present and what is missing, with a user-facing message and a docs link per missing piece.

`GET /v1/o11y/infra_monitoring/checks`

> [O11y →](https://docs.hanzo.ai/docs/openapi/o11y) · [All API references →](https://docs.hanzo.ai/docs/openapi) · [Get started →](https://docs.hanzo.ai/docs/guides)

|               |                                                        |
| ------------- | ------------------------------------------------------ |
| **Address**   | `https://api.hanzo.ai/v1/o11y/infra_monitoring/checks` |
| **Method**    | `GET`                                                  |
| **Operation** | `get_o11y_infra_monitoring_checks`                     |
| **Auth**      | `Authorization: Bearer $HANZO_API_KEY`                 |

Reports whether the metrics and attributes an infra-monitoring
section needs are being received — for each collector receiver or processor
involved, what is present and what is missing, with a user-facing message
and a docs link per missing piece. Ready is true only when nothing is
missing.

## Request

1 field.

| Field  | In    | Type   | Required | Description                                                                                                                                 |
| ------ | ----- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `type` | query | string | yes      | Type is the section to check — hosts, processes, pods, nodes, deployments, daemonsets, statefulsets, jobs, namespaces, clusters or volumes. |

## Response

| Status    | Body                    | Meaning           |
| --------- | ----------------------- | ----------------- |
| `200`     | o11y.O11yInfraChecksOut | ok                |
| `202`     | Approval                | held for approval |
| `default` | problem-details         | refused           |

`200` body — 40 fields.

| Field                                                          | In   | Type                                    | Always | Description          |
| -------------------------------------------------------------- | ---- | --------------------------------------- | ------ | -------------------- |
| `data`                                                         | body | o11y.Checks                             | —      |                      |
| `data.missingDefaultEnabledMetrics`                            | body | o11y.MissingMetricsComponentEntry\[]    | —      |                      |
| `data.missingDefaultEnabledMetrics[].associatedComponent`      | body | o11y.AssociatedComponent                | —      |                      |
| `data.missingDefaultEnabledMetrics[].associatedComponent.name` | body | string                                  | —      |                      |
| `data.missingDefaultEnabledMetrics[].associatedComponent.type` | body | any                                     | —      |                      |
| `data.missingDefaultEnabledMetrics[].documentationLink`        | body | string                                  | —      |                      |
| `data.missingDefaultEnabledMetrics[].message`                  | body | string                                  | —      |                      |
| `data.missingDefaultEnabledMetrics[].metrics`                  | body | string\[]                               | —      |                      |
| `data.missingOptionalMetrics`                                  | body | o11y.MissingMetricsComponentEntry\[]    | —      |                      |
| `data.missingOptionalMetrics[].associatedComponent`            | body | o11y.AssociatedComponent                | —      |                      |
| `data.missingOptionalMetrics[].associatedComponent.name`       | body | string                                  | —      |                      |
| `data.missingOptionalMetrics[].associatedComponent.type`       | body | any                                     | —      |                      |
| `data.missingOptionalMetrics[].documentationLink`              | body | string                                  | —      |                      |
| `data.missingOptionalMetrics[].message`                        | body | string                                  | —      |                      |
| `data.missingOptionalMetrics[].metrics`                        | body | string\[]                               | —      |                      |
| `data.missingRequiredAttributes`                               | body | o11y.MissingAttributesComponentEntry\[] | —      |                      |
| `data.missingRequiredAttributes[].associatedComponent`         | body | o11y.AssociatedComponent                | —      |                      |
| `data.missingRequiredAttributes[].associatedComponent.name`    | body | string                                  | —      |                      |
| `data.missingRequiredAttributes[].associatedComponent.type`    | body | any                                     | —      |                      |
| `data.missingRequiredAttributes[].attributes`                  | body | string\[]                               | —      |                      |
| `data.missingRequiredAttributes[].documentationLink`           | body | string                                  | —      |                      |
| `data.missingRequiredAttributes[].message`                     | body | string                                  | —      |                      |
| `data.presentDefaultEnabledMetrics`                            | body | o11y.MetricsComponentEntry\[]           | —      |                      |
| `data.presentDefaultEnabledMetrics[].associatedComponent`      | body | o11y.AssociatedComponent                | —      |                      |
| `data.presentDefaultEnabledMetrics[].associatedComponent.name` | body | string                                  | —      |                      |
| `data.presentDefaultEnabledMetrics[].associatedComponent.type` | body | any                                     | —      |                      |
| `data.presentDefaultEnabledMetrics[].metrics`                  | body | string\[]                               | —      |                      |
| `data.presentOptionalMetrics`                                  | body | o11y.MetricsComponentEntry\[]           | —      |                      |
| `data.presentOptionalMetrics[].associatedComponent`            | body | o11y.AssociatedComponent                | —      |                      |
| `data.presentOptionalMetrics[].associatedComponent.name`       | body | string                                  | —      |                      |
| `data.presentOptionalMetrics[].associatedComponent.type`       | body | any                                     | —      |                      |
| `data.presentOptionalMetrics[].metrics`                        | body | string\[]                               | —      |                      |
| `data.presentRequiredAttributes`                               | body | o11y.AttributesComponentEntry\[]        | —      |                      |
| `data.presentRequiredAttributes[].associatedComponent`         | body | o11y.AssociatedComponent                | —      |                      |
| `data.presentRequiredAttributes[].associatedComponent.name`    | body | string                                  | —      |                      |
| `data.presentRequiredAttributes[].associatedComponent.type`    | body | any                                     | —      |                      |
| `data.presentRequiredAttributes[].attributes`                  | body | string\[]                               | —      |                      |
| `data.ready`                                                   | body | boolean                                 | —      |                      |
| `data.type`                                                    | body | any                                     | —      |                      |
| `status`                                                       | body | string                                  | —      | Status is "success". |

Failure carries the platform error shape — see [Errors](https://docs.hanzo.ai/docs/errors).

## Examples

**CLI**

```bash
hanzo o11y infra_monitoring checks --type <type>
```

**SDK**

**.ts**

```ts
import { Configuration, O11yApi } from 'hanzoai';

const api = new O11yApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getO11yInfraMonitoringChecks({ type: 'type' });
```

**.py**

```python
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import O11yApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = O11yApi(client).get_o11y_infra_monitoring_checks(type='type')
```

**.go**

```go
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.O11yAPI.GetO11yInfraMonitoringChecks(context.Background()).Execute()
if err != nil {
	return err
}
```

**.rs**

```rust
use hanzo_client::apis::{configuration::Configuration, o11y_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = o11y_api::get_o11y_infra_monitoring_checks(&cfg, Default::default()).await?;
```

**.java**

```java
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.O11yApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new O11yApi(client).getO11yInfraMonitoringChecks();
```

**HTTP**

```bash
curl https://api.hanzo.ai/v1/o11y/infra_monitoring/checks?type=%3Ctype%3E \
  -H "Authorization: Bearer $HANZO_API_KEY"
```

**MCP**

MCP reaches **o11y** through the `o11y` tool, which names its 307 operations with its own verbs — this one among them, under a name only MCP declares. `describe` explains any of them:

```bash
curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "describe",
         "arguments": {
           "op": "list_o11y_autocomplete_aggregate_attributes"
         }
       }
     }'
```

---

[O11y API](https://docs.hanzo.ai/docs/openapi/o11y) · [All Hanzo APIs](https://docs.hanzo.ai/docs/openapi) · [Interactive reference](https://docs.hanzo.ai/docs/openapi/reference)
