โ† API reference
Mutation / aiml

previewMLModelPipeline

Run the data pipeline over a sample WITHOUT training and return the emitted fields. Requires mlmodelconfig:execute permission.

Arguments

ID of the ML model config whose pipeline to preview

stagesOverride[MLNormalizationStageInput!]

Optional stage list to preview instead of the saved stages (live editing)

sampleLimitInt

Max emitted rows to inspect and return in sampleRows (default 1000). totalRows is the number sampled, not a full source count. Zero returns schema only; negative values are invalid. Training still reads the full source.

Returns DataScriptPreview!

Scalar fields at a glance

sampleRows[[String!]!]!
totalRowsInt!
errorString
โ†— View the complete DataScriptPreview type

Explore in a view

AI and ML
View exact SDL
"""
Run the data pipeline over a sample WITHOUT training and return the emitted fields. Requires mlmodelconfig:execute permission.
"""
previewMLModelPipeline(
  """ID of the ML model config whose pipeline to preview"""
  id: MLModelConfigID!
  """
  Optional stage list to preview instead of the saved stages (live editing)
  """
  stagesOverride: [MLNormalizationStageInput!]
  """
  Max emitted rows to inspect and return in sampleRows (default 1000). totalRows is the number sampled, not a full source count. Zero returns schema only; negative values are invalid. Training still reads the full source.
  """
  sampleLimit: Int
): DataScriptPreview! @topic(names: ["aiml"])

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