Leaseweb · Schema
getQueryMetricsResult
CompanyCloudInfrastructure-as-a-ServiceBare MetalDedicated ServersObject StorageDNSHosting
Properties
| Name | Type | Description |
|---|---|---|
| dnsQuery | object | |
| _metadata | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/leaseweb/main/json-schema/leaseweb-get-query-metrics-result-schema.json",
"title": "getQueryMetricsResult",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/leaseweb-dns-openapi.yml#/components/schemas/getQueryMetricsResult",
"properties": {
"dnsQuery": {
"$ref": "#/$defs/dnsQuery"
},
"_metadata": {
"$ref": "#/$defs/metricsMetaData"
}
},
"required": [
"_metadata",
"dnsQuery"
],
"type": "object",
"$defs": {
"aggregation": {
"enum": [
"SUM"
],
"type": "string"
},
"dnsQuery": {
"properties": {
"unit": {
"description": "The metric unit that's used",
"type": "string"
},
"values": {
"items": {
"$ref": "#/$defs/metricValue"
},
"type": "array"
}
},
"required": [
"unit",
"values"
],
"title": "dnsQuery",
"type": "object"
},
"granularity": {
"enum": [
"5MIN",
"HOUR",
"DAY",
"WEEK",
"MONTH"
],
"type": "string"
},
"metricValue": {
"description": "An array of metrics grouped by granularity",
"properties": {
"timestamp": {
"description": "The time of the current metric",
"format": "date-time",
"type": "string"
},
"value": {
"description": "The value of the current metric",
"type": "integer"
}
},
"required": [
"timestamp",
"value"
],
"title": "metricValue",
"type": "object"
},
"metricsMetaData": {
"description": "Metadata about the collection",
"properties": {
"aggregation": {
"$ref": "#/$defs/aggregation"
},
"from": {
"description": "Start of date interval in ISO-8601 format",
"format": "date-time",
"type": "string"
},
"granularity": {
"$ref": "#/$defs/granularity"
},
"to": {
"description": "End of date interval in ISO-8601 format",
"format": "date-time",
"type": "string"
}
},
"required": [
"aggregation",
"from",
"granularity",
"to"
],
"title": "metricsMetaData",
"type": "object"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/leaseweb-get-query-metrics-result"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.