> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LifecyclePreview

> Holds an unsaved definition evaluated on a bounded sample of indexed entries.



**Kind**: `object`

## Fields

**`actualSampleSize`**: `Int!`

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

---

**`definition`**: `LifecycleDefinition!`

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

---

**`entries`**: `[LifecyclePreviewEntry!]!`

Sampled entries in entry id order, including inapplicable entries.

---

**`evaluatedAt`**: `DateTime!`

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

---

**`requestedSampleSize`**: `Int!`

The requested upper bound on sampled entries.

---

**`sampleDistribution`**: `LifecycleSampleDistribution!`

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

---

**`samplingMethod`**: `LifecycleSamplingMethod!`

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



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.