{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/neo4j/main/json-schema/neo4j-query-request-schema.json", "title": "QueryRequest", "description": "Request body for executing one or more Cypher statements using an implicit transaction.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/neo4j-query-api-openapi.yml#/components/schemas/QueryRequest", "type": "object", "required": [ "statements" ], "properties": { "statements": { "type": "array", "description": "Array of Cypher statements to execute", "items": { "$ref": "#/$defs/CypherStatement" } } }, "$defs": { "CypherStatement": { "type": "object", "description": "A single Cypher statement with optional parameters and result format.", "required": [ "statement" ], "properties": { "statement": { "type": "string", "description": "The Cypher query string to execute" }, "parameters": { "type": "object", "description": "Named parameters for the Cypher query. Always use parameters instead of string concatenation to prevent Cypher injection.", "additionalProperties": true }, "resultDataContents": { "type": "array", "description": "Requested result formats. Possible values include row and graph.", "items": { "type": "string", "enum": [ "row", "graph" ] } }, "includeStats": { "type": "boolean", "description": "Whether to include query execution statistics in the response", "default": false } } } } }