Skip to main content
POST
Preview an unsaved lifecycle on a bounded sample

Authorizations

Authorization
string
header
required

Sign in with the existing Occtoo Studio identity and selected organization.

Path Parameters

cardId
string
required

Raw id of the card definition (e.g. products).

Body

application/json

Holds an unsaved definition to preview.

definition
object
required

Definition to preview. Nothing is saved.

sampleSize
default:25

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

Response

OK

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

samplingMethod
enum<string>
required

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

Available options:
EntryIdAscending
requestedSampleSize
required

The requested upper bound on sampled entries.

actualSampleSize
required

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

evaluatedAt
string<date-time>
required

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

definition
object
required

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

sampleDistribution
object
required

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

entries
object[]
required

Sampled entries in entry id order, including inapplicable entries.