Skip to main content
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.

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.
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.

Sent to the LLM

What is never included in the LLM prompt

Only structural metadata and execution statistics are sent to the LLM provider. Your actual data values are not included.

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
For full platform security details, see Security and Compliance.

Query Analyzer Overview

Feature overview, analysis modes, and what gets analyzed.

StarTree Cloud Security

Platform-wide security controls and compliance certifications.