Skip to main content
QUERY
previewLifecycle(cardDefinitionId: String!, definition: LifecycleDefinitionInput!, sampleSize: Int!): LifecyclePreview

Arguments

cardDefinitionId
String!
required

Raw id of the card definition (e.g. products), not the global CardDefinition.id.

definition

Definition to preview. Nothing is saved.

sampleSize
Int!
default:25

Number of entries to sample, 1 to 100. Default 25.

actualSampleSize
Int!

The number of entries in this sample, including inapplicable entries.

The unsaved definition. Its step and rule ids belong to this preview only; use slugs to match input components.

Sampled entries in entry id order, including inapplicable entries.

evaluatedAt

When the indexed read began. This is not a source-data timestamp.

requestedSampleSize
Int!

The requested upper bound on sampled entries.

sampleDistribution

Readiness counts for this sample only, not for every entry of the card definition.

How roots were selected before testing applicability. The sample is not random.

Query
Variables
Response