{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/couchbase/main/json-schema/couchbase-analytics-query-request-schema.json", "title": "AnalyticsQueryRequest", "description": "Analytics query execution request", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/couchbase-analytics-query-api-openapi.yml#/components/schemas/AnalyticsQueryRequest", "type": "object", "required": [ "statement" ], "properties": { "statement": { "type": "string", "description": "The SQL++ analytics statement to execute" }, "pretty": { "type": "boolean", "description": "Whether to format the results with indentation" }, "readonly": { "type": "boolean", "description": "Whether to restrict to read-only operations" }, "client_context_id": { "type": "string", "description": "Client-provided context identifier for request tracking" }, "timeout": { "type": "string", "description": "Maximum execution time for the query (e.g., 10s, 5m)" }, "scan_consistency": { "type": "string", "description": "Consistency requirement for the query", "enum": [ "not_bounded", "request_plus" ] }, "args": { "type": "array", "description": "Positional parameters for the query", "items": {} } } }