Contraforce · Schema
ApiResponseOfAgentToolKqlQueryResult
Standard v2 API response envelope for single-item responses.
SecuritySoftware-as-a-ServiceCybersecurityMicrosoftMSP
Properties
| Name | Type | Description |
|---|---|---|
| data | object | Result of an agent KQL execution tool call. Returns true-columnar rows (parallel arrays indexed against the List<string> AgentToolKqlQueryResult.Columns header) — far more token-efficient than a |
| meta | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/contraforce/json-schema/contraforce-api-response-of-agent-tool-kql-query-result-schema.json",
"title": "ApiResponseOfAgentToolKqlQueryResult",
"description": "Standard v2 API response envelope for single-item responses.",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/contraforce-agent-tools-api-openapi.yml#/components/schemas/ApiResponseOfAgentToolKqlQueryResult",
"type": "object",
"properties": {
"data": {
"description": "Result of an agent KQL execution tool call. Returns true-columnar rows (parallel arrays\nindexed against the List<string> AgentToolKqlQueryResult.Columns header) — far more token-efficient than a\nper-row dictionary because column names are written exactly once.",
"$ref": "#/$defs/AgentToolKqlQueryResult"
},
"meta": {
"$ref": "#/$defs/ResponseMeta"
}
},
"$defs": {
"AgentToolKqlQueryResult": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "True when the query ran. False for KQL syntax errors, schema mismatches, upstream Log Analytics failures, or XDR-only workspaces — the failure reason is in `summary`."
},
"summary": {
"type": [
"null",
"string"
],
"description": "Compact human-readable digest: 'Query returned N rows.' or 'Query returned X rows; showing first N (truncated).' or a one-line failure reason."
},
"row_count": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"description": "Number of rows actually returned (after server-side truncation). When `truncated` is true, this is less than the total rows the query matched.",
"format": "int32"
},
"truncated": {
"type": "boolean",
"description": "True when the query produced more rows than were returned (hit the row cap). The agent should narrow the query (tighter time range, more selective filters, project fewer columns) rather than attempt pagination — these tools have no pagination contract. Omitted when false."
},
"columns": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Column names in order. Index into each row in `rows` using the position of the column name here. Columns whose values were null/empty across every projected row are auto-pruned."
},
"rows": {
"type": [
"null",
"array"
],
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "Result rows as parallel arrays aligned to `columns`. Position-aligned: rows[r][c] is the value of columns[c] for row r. Values are stringified — booleans become 'true'/'false', objects/arrays become compact JSON, oversized cells are truncated with a `…(N more)` suffix."
}
},
"description": "Result of an agent KQL execution tool call. Returns true-columnar rows (parallel arrays\nindexed against the List<string> AgentToolKqlQueryResult.Columns header) — far more token-efficient than a\nper-row dictionary because column names are written exactly once."
},
"ResponseMeta": {
"type": "object",
"properties": {
"requestId": {
"type": [
"null",
"string"
]
},
"timestamp": {
"type": [
"null",
"string"
]
}
}
}
}
}
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/contraforce-api-response-of-agent-tool-kql-query-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.