Skip to content

Readout commands: update, delete

The Readout Verbs update, delete as CLI commands, with inputs, result, refusals and an example.

Reference for Readout, one group of Readout commands.

Readout.update

Changes the given properties of a Readout. Verb page.

Text
npx startup-builder do Readout.update --json '<input>' [--try | --send | --do]

Emits Readout.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Readout.
valuenumberThe Metric’s value for the Variant.
nintegerHow many exposed units it counts.
intervaljsonThe low and high bounds of the estimate.
readabilitystringOne of A, B, C, or inadmissible: how far the number can be trusted.
pooledbooleanTrue when exposures from sibling Startups or earlier Portfolio results are pooled in.

Returns

OutputTypeRequiredDescription
readoutReadoutrequiredThe Readout.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
npx startup-builder do Readout.update --json '{"id":"readout_dlRDxjf2vt","value":1}'

Readout.delete

Deletes a Readout: a soft delete that keeps its history, undone by Thing.restore. Verb page.

Text
npx startup-builder do Readout.delete --json '<input>' [--try | --send | --do]

Emits Readout.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Readout.

Returns

OutputTypeRequiredDescription
readoutReadoutrequiredThe Readout.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
npx startup-builder do Readout.delete --json '{"id":"readout_dlRDxjf2vt"}'