PeppolStatus · Schema

HostsResponse

PeppolE-InvoicingMarket IntelligenceEurope

Properties

Name Type Description
items array
rollup object
generated_at string
View JSON Schema on GitHub

JSON Schema

peppolstatus-com-hosts-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peppolstatus-com/json-schema/peppolstatus-com-hosts-response-schema.json",
  "title": "HostsResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peppolstatus-com-hosts-api-openapi.yml#/components/schemas/HostsResponse",
  "type": "object",
  "required": [
    "items",
    "rollup",
    "generated_at"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HostSummary"
      }
    },
    "rollup": {
      "$ref": "#/$defs/HostsRollup"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "HostCert": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "fingerprint",
        "subject",
        "issuer",
        "not_before",
        "not_after"
      ],
      "properties": {
        "fingerprint": {
          "type": "string"
        },
        "subject": {
          "type": "string"
        },
        "issuer": {
          "type": "string"
        },
        "not_before": {
          "type": "string",
          "format": "date-time"
        },
        "not_after": {
          "type": "string",
          "format": "date-time"
        },
        "days_to_expiry": {
          "type": "integer",
          "description": "Whole days from the response instant to `not_after`, floored; negative once the certificate has expired (issue #519). Derived server-side."
        },
        "expiry_status": {
          "type": "string",
          "enum": [
            "ok",
            "expiring",
            "expired"
          ],
          "description": "Derived TLS-expiry state (issue #519): `expired` once `not_after` is past, `expiring` within 30 days of now, else `ok`. A tighter near-term window additionally raises a `host_tls_cert_expiring`/`host_tls_cert_expired` anomaly."
        }
      }
    },
    "HostLatency": {
      "type": "object",
      "description": "Latest total-latency percentiles, whole ms.",
      "required": [
        "p50",
        "p95"
      ],
      "properties": {
        "p50": {
          "type": "number"
        },
        "p95": {
          "type": "number"
        }
      }
    },
    "HostNetwork": {
      "type": "object",
      "required": [
        "ips",
        "ptr"
      ],
      "properties": {
        "ips": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "ptr": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "HostProviderInfo": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "key",
        "trade_name",
        "legal_name",
        "country"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "trade_name": {
          "type": "string"
        },
        "legal_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "ap_key": {
          "type": [
            "string",
            "null"
          ],
          "description": "The provider's access-point directory key for the console's /providers/{key} link (the `key` field above is the natural key, which that route does not resolve); null when no seat of the provider is a member of any directory entry. Optional: an edge-cached /v1/hosts response minted before this field existed omits it."
        }
      }
    },
    "HostState": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "up",
        "degraded",
        "down",
        "unresolvable",
        null
      ],
      "description": "Rolled-up host state (issue #310): a per-location `Verdict` (`up`/`degraded`/`down`) plus the derived `unresolvable` — a hostname that has NEVER resolved in DNS. `unresolvable` is neutral/informational, NOT an outage. null when unknown."
    },
    "HostSummary": {
      "type": "object",
      "required": [
        "hostname",
        "role",
        "verdict",
        "latency",
        "uptime_24h",
        "last_bucket"
      ],
      "properties": {
        "hostname": {
          "type": "string"
        },
        "role": {
          "type": [
            "string",
            "null"
          ]
        },
        "verdict": {
          "$ref": "#/$defs/HostState"
        },
        "latency": {
          "oneOf": [
            {
              "$ref": "#/$defs/HostLatency"
            },
            {
              "type": "null"
            }
          ]
        },
        "uptime_24h": {
          "type": [
            "number",
            "null"
          ],
          "description": "Mean uptime_pct over the last 24h, percent."
        },
        "last_bucket": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "cert": {
          "$ref": "#/$defs/HostCert"
        },
        "provider": {
          "$ref": "#/$defs/HostProviderInfo"
        },
        "network": {
          "oneOf": [
            {
              "$ref": "#/$defs/HostNetwork"
            },
            {
              "type": "null"
            }
          ],
          "description": "Reverse-DNS attribution — `ips` (last observed resolved IPs) and `ptr` (reverse-DNS name of the first resolved IP, null when none resolves); null when the host has no current network row. Same shape as GET /v1/hosts/{hostname}."
        }
      }
    },
    "HostsRollup": {
      "type": "object",
      "required": [
        "hosts",
        "avg_uptime_24h",
        "avg_latency_p50"
      ],
      "properties": {
        "hosts": {
          "type": "integer"
        },
        "avg_uptime_24h": {
          "type": [
            "number",
            "null"
          ]
        },
        "avg_latency_p50": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/peppolstatus-com-hosts-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.