Azure Monitor · Schema

Azure Monitor Log Query

Represents a query request and response for the Azure Monitor Logs API and Application Insights query API, using Kusto Query Language (KQL).

Application InsightsCloudLogsMetricsMonitoringObservability

Properties

Name Type Description
request object
response object
View JSON Schema on GitHub

JSON Schema

azure-monitor-log-query-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schema.azure.com/monitor/log-query.json",
  "title": "Azure Monitor Log Query",
  "description": "Represents a query request and response for the Azure Monitor Logs API and Application Insights query API, using Kusto Query Language (KQL).",
  "type": "object",
  "properties": {
    "request": {
      "$ref": "#/$defs/QueryBody"
    },
    "response": {
      "$ref": "#/$defs/QueryResults"
    }
  },
  "$defs": {
    "QueryBody": {
      "type": "object",
      "required": ["query"],
      "properties": {
        "query": {
          "type": "string",
          "description": "The Analytics query in Kusto Query Language (KQL) format."
        },
        "timespan": {
          "type": "string",
          "description": "The timespan over which to query data in ISO 8601 duration format (e.g., PT1H, P1D, P1DT12H)."
        },
        "workspaces": {
          "type": "array",
          "items": { "type": "string" },
          "description": "A list of workspace IDs to include in cross-workspace queries."
        },
        "applications": {
          "type": "array",
          "items": { "type": "string" },
          "description": "A list of Application Insights app IDs for cross-application queries."
        }
      }
    },
    "QueryResults": {
      "type": "object",
      "required": ["tables"],
      "properties": {
        "tables": {
          "type": "array",
          "items": { "$ref": "#/$defs/Table" },
          "description": "The list of tables, columns, and rows."
        }
      }
    },
    "Table": {
      "type": "object",
      "required": ["name", "columns", "rows"],
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the table."
        },
        "columns": {
          "type": "array",
          "items": { "$ref": "#/$defs/Column" },
          "description": "The list of columns in this table."
        },
        "rows": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {}
          },
          "description": "The resulting rows from this query. Each row is an array of values corresponding to the columns."
        }
      }
    },
    "Column": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of this column."
        },
        "type": {
          "type": "string",
          "enum": ["bool", "datetime", "dynamic", "int", "long", "real", "string", "guid", "decimal", "timespan"],
          "description": "The data type of this column."
        }
      }
    }
  }
}

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/azure-monitor-log-query"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.