Skip to content

Play.applied

Emitted each time a Play is applied.

Play.apply emits Play.applied when it completes on a Play.

PropertyValue
Emitted byPlay.apply
NounPlay
WakesNone.

Payload

Each delivery is an Event record. data holds what Play.apply returns.

FieldTypeRequiredDescription
namestringrequiredPlay.applied.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.experimentExperimentrequiredThe Experiment that measures the rollout.
data.playPlayrequiredThe Play applied.
data.play.familystringrequiredThe job it does, such as demand, retention, or pricing.
data.play.costmoneyWhat one run costs.
data.play.cohortjsonThe Portfolio query a Studio rolls it out to.
data.play.fromstringLineage: the slot it compiles from, as Hypothesis#<slot>@v<version>.
data.play.spendmoneyMedia, data and creative spend posted against the Play.
data.play.workerCostmoneyWhat the Workers running it cost: model tokens, compute, upstream calls and human minutes.
data.play.customersAcquiredintegerOutside Customers whose Acquisition names the Play.
data.play.outsideRevenuemoneyRevenue collected from those Customers, net of refunds.
data.play.marginmoneyOutside revenue less spend, Worker cost and the cost to serve those Customers.
data.play.paybackDaysintegerDays from the first spend until margin covers spend and Worker cost; empty until it does.

Example

JSON
{
  "$id": "https://api.sb/tutorloop.com/events/event_1",
  "$type": "Event",
  "name": "Play.applied",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "experiment": {
      "$id": "https://api.sb/tutorloop.com/experiments/experiment_1",
      "$type": "Experiment",
      "variants": {}
    },
    "play": {
      "$id": "https://api.sb/tutorloop.com/plays/play_1",
      "$type": "Play",
      "family": "demand",
      "cost": {
        "amount": 60,
        "currency": "USD"
      },
      "cohort": {},
      "from": "Hypothesis#approach@v1",
      "spend": {
        "amount": 60,
        "currency": "USD"
      },
      "workerCost": {
        "amount": 60,
        "currency": "USD"
      },
      "customersAcquired": 1,
      "outsideRevenue": {
        "amount": 60,
        "currency": "USD"
      },
      "margin": {
        "amount": 60,
        "currency": "USD"
      },
      "paybackDays": 1
    }
  },
  "seq": 1
}