{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/azure-log-analytics/refs/heads/main/json-structure/query-api-query-body-structure.json", "name": "QueryBody", "description": "Request body for executing a KQL query against a Log Analytics workspace.", "type": "object", "required": ["query"], "properties": { "query": { "type": "string", "description": "The KQL query to execute against the workspace." }, "timespan": { "type": "string", "description": "ISO 8601 duration or time interval for the query timespan." }, "workspaces": { "type": "array", "description": "List of additional workspace IDs for cross-workspace queries.", "items": { "type": "string" } } } }