Security controls, data privacy, and compliance posture for Query Analyzer in StarTree Cloud.
Query Analyzer is an opt-in, AI-powered feature in StarTree Cloud. This page describes how your data is handled, which security controls apply, and how Query Analyzer inherits StarTree Cloud’s platform compliance posture.
Beta feature. Query Analyzer is disabled by default and available on demand. Contact your StarTree account team to have it enabled for your environment.
Query Analyzer is request-scoped: it processes one analysis per request and does not persist query text, metadata, or LLM responses to any database or customer-accessible storage.
For normal (non-direct) analysis, Query Analyzer uses your authenticated identity to call Pinot Controller admin APIs on your cluster. The following operations run per table referenced in your SQL (except explain and query execution, which run once per analysis request).
POST /sql with EXPLAIN PLAN FOR and useMultistageEngine=true;explainAskingServers=true (falls back to single-stage engine if needed)
Yes
Yes
Pinot Controller SQL query API
Execute the SQL query
POST /sql with useMultistageEngine=true;collectGcStats=true
No
Yes
Pinot Controller SQL query API
The POST /sql endpoint is the Pinot Controller SQL query API. It is used for explain plans and, in runtime analysis, to execute your query and collect stageStats. This is separate from the broker query API (POST /query/sql) used for interactive querying in some deployments.
Pinot’s own RBAC policies govern which tables and operations your identity can access. Runtime analysis executes your query against the cluster. Use it only when the query is safe to run in your environment.
Operator timing and memory metrics (runtime analysis only)
Before transmission, StarTree Cloud masks credentials and secret references in table configuration JSON and strips non-essential sections (ingestion config, task definitions, tenants, metadata, and routing).
Query Analyzer uses the same authentication and authorization model as other StarTree Cloud APIs. See Manage Security for OIDC identity provider setup, RBAC policies, and API tokens.
Control
Behavior
Authentication
Required for POST /api/query-analyzer/static-analysis and POST /api/query-analyzer/runtime-analysis
Authorization
Governed by StarTree Cloud RBAC and Pinot cluster policies for the tables in your query
Workspace scoping
Use the workspace header to scope requests to a specific workspace
Feature availability
Disabled by default. Contact your StarTree account team to enable.