โ† API reference
Query / apps

previewDataClip

Preview a MicroSQL query without saving (returns tabular results)

Arguments

The MicroSQL query to run for preview. Nothing is persisted.

Returns ReportQueryPayload!

Scalar fields at a glance

headers[String!]!
rows[[JSON!]!]!
rowCountInt!
limitInt
truncatedBoolean!
nextOffsetInt
โ†— View the complete ReportQueryPayload type

Explore in a view

App Authoring
View exact SDL
"""Preview a MicroSQL query without saving (returns tabular results)"""
previewDataClip(
  """The MicroSQL query to run for preview. Nothing is persisted."""
  input: PreviewDataClipInput!
): ReportQueryPayload! @topic(names: ["apps"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.