Skip to content

Portfolio.brake

POST /{namespace}/portfolios/{portfolio}/brake

Brake stops one class of effects, such as sends, spend, publishes, or price changes, across a Portfolio query until it expires or is lifted.

Mode
do
Event
Portfolio.braked

Inputs

InputTypeRequiredDescription
portfolioPortfoliorequiredThe Portfolio whose Startups the brake covers.
effectsstring[]requiredAny of send, spend, publish, and price.
reasontextrequiredWhy the effects stop.
untildatetimerequiredWhen the brake expires.
querystringNarrows the brake to the Startups that match, such as one Startup Template Version or one Cohort.

Outputs

OutputTypeRequiredDescription
brakeSettingrequiredThe brake, held as a Setting that every matching Startup inherits.
portfolioPortfoliorequiredThe Portfolio under the brake.

Effects

  • Emits Portfolio.braked.
  • Holds every new Action of a braked effect as pending until the brake ends; nothing already done is undone.
  • Records a Decision with the reason.

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.Portfolio.brake

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.