Overview
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.Data Flows
Collected from Pinot
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).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.Sent to the LLM
What is never included in the LLM prompt
What is included in the LLM prompt
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).
Data Lifecycle and Retention
AI Model and Provider
On AWS, prompts are processed by Amazon Bedrock under AWS’s data privacy commitments.
Access Controls
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.Encryption
Platform Compliance
Query Analyzer runs within StarTree Cloud infrastructure and inherits platform certifications:- SOC 2 Type 2
- ISO 27001
- HIPAA readiness
Related Documentation
Query Analyzer Overview
Feature overview, analysis modes, and what gets analyzed.
StarTree Cloud Security
Platform-wide security controls and compliance certifications.

