For the complete documentation index, see llms.txt. This page is also available as Markdown.

Querying Data Products

Guidance for matching Data Product query interfaces to integration and analytics needs.

Choose the method that best fits your application, analytical workflow, or reporting use case.

Choose a query method

If you need to...
Use
Why

Build a dashboard, application, or repeatable integration

Structured JSON is easy to generate, validate, and parameterize.

Explore governed data using familiar SQL

Query semantic members and invoke governed calculations through MEASURE(...).

Select typed fields and receive nested JSON

Schema introspection and inline results suit frontend and API clients.

Read one approved KPI with minimal query construction

The metric fixes the measure and time axis; you choose the grain, slices, and filters.

Publish and reuse a stable saved result

A slug, access controls, cached result, and refresh behavior turn a query into a reusable asset.

Prefer a semantic interface for business-facing integrations. Use Source SQL only when the semantic layer cannot express the question; it couples the consumer to physical models and warehouse SQL.

Understand the query vocabulary

  • A measure is a governed calculation, such as total revenue or units sold.

  • A dimension groups or filters a calculation, such as store region or brand.

  • A time dimension filters time and can bucket results into a grain such as day or month.

  • A segment is a reusable filter defined by the Data Product author.

  • A metric is a named time series with a fixed measure and time axis.

  • A perspective saves a successful query and exposes its latest result through a stable slug.

REST, Semantic SQL, Metrics, and Source SQL return 202 Accepted. Poll the statement and fetch its result after SUCCESS. GraphQL normally returns data inline and returns 202 only if its synchronous wait window expires. See Query lifecycle.

Advanced reading

Last updated

Was this helpful?