List 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

Addresshttps://api.hanzo.ai/v1/o11y/infra_monitoring/checks
MethodGET
Operationget_o11y_infra_monitoring_checks
AuthAuthorization: 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.

FieldInTypeRequiredDescription
typequerystringyesType is the section to check — hosts, processes, pods, nodes, deployments, daemonsets, statefulsets, jobs, namespaces, clusters or volumes.

Response

StatusBodyMeaning
200o11y.O11yInfraChecksOutok
202Approvalheld for approval
defaultproblem-detailsrefused

200 body — 40 fields.

FieldInTypeAlwaysDescription
databodyo11y.Checks—
data.missingDefaultEnabledMetricsbodyo11y.MissingMetricsComponentEntry[]—
data.missingDefaultEnabledMetrics[].associatedComponentbodyo11y.AssociatedComponent—
data.missingDefaultEnabledMetrics[].associatedComponent.namebodystring—
data.missingDefaultEnabledMetrics[].associatedComponent.typebodyany—
data.missingDefaultEnabledMetrics[].documentationLinkbodystring—
data.missingDefaultEnabledMetrics[].messagebodystring—
data.missingDefaultEnabledMetrics[].metricsbodystring[]—
data.missingOptionalMetricsbodyo11y.MissingMetricsComponentEntry[]—
data.missingOptionalMetrics[].associatedComponentbodyo11y.AssociatedComponent—
data.missingOptionalMetrics[].associatedComponent.namebodystring—
data.missingOptionalMetrics[].associatedComponent.typebodyany—
data.missingOptionalMetrics[].documentationLinkbodystring—
data.missingOptionalMetrics[].messagebodystring—
data.missingOptionalMetrics[].metricsbodystring[]—
data.missingRequiredAttributesbodyo11y.MissingAttributesComponentEntry[]—
data.missingRequiredAttributes[].associatedComponentbodyo11y.AssociatedComponent—
data.missingRequiredAttributes[].associatedComponent.namebodystring—
data.missingRequiredAttributes[].associatedComponent.typebodyany—
data.missingRequiredAttributes[].attributesbodystring[]—
data.missingRequiredAttributes[].documentationLinkbodystring—
data.missingRequiredAttributes[].messagebodystring—
data.presentDefaultEnabledMetricsbodyo11y.MetricsComponentEntry[]—
data.presentDefaultEnabledMetrics[].associatedComponentbodyo11y.AssociatedComponent—
data.presentDefaultEnabledMetrics[].associatedComponent.namebodystring—
data.presentDefaultEnabledMetrics[].associatedComponent.typebodyany—
data.presentDefaultEnabledMetrics[].metricsbodystring[]—
data.presentOptionalMetricsbodyo11y.MetricsComponentEntry[]—
data.presentOptionalMetrics[].associatedComponentbodyo11y.AssociatedComponent—
data.presentOptionalMetrics[].associatedComponent.namebodystring—
data.presentOptionalMetrics[].associatedComponent.typebodyany—
data.presentOptionalMetrics[].metricsbodystring[]—
data.presentRequiredAttributesbodyo11y.AttributesComponentEntry[]—
data.presentRequiredAttributes[].associatedComponentbodyo11y.AssociatedComponent—
data.presentRequiredAttributes[].associatedComponent.namebodystring—
data.presentRequiredAttributes[].associatedComponent.typebodyany—
data.presentRequiredAttributes[].attributesbodystring[]—
data.readybodyboolean—
data.typebodyany—
statusbodystring—Status is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y infra_monitoring checks --type <type>
import { Configuration, O11yApi } from 'hanzoai';

const api = new O11yApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getO11yInfraMonitoringChecks({ type: 'type' });
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')
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
}
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?;
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();
curl https://api.hanzo.ai/v1/o11y/infra_monitoring/checks?type=%3Ctype%3E \
  -H "Authorization: Bearer $HANZO_API_KEY"

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:

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 · All Hanzo APIs · Interactive reference

Was this page useful?