Skip to main content
Version: Next

ActorChargeEvent

Definition of a single chargeable event for a pay-per-event Actor. Each event is either flat-priced (eventPriceUsd is set) or tier-priced (eventTieredPricingUsd is set); the two are mutually exclusive.

Index

Properties

event_description

event_description: str

Human-readable description of what triggers this event.

event_price_usd

event_price_usd: float | None

Flat price per event in USD. Present only for non-tiered events. Mutually exclusive with eventTieredPricingUsd.

event_tiered_pricing_usd

event_tiered_pricing_usd: dict[str, TieredPricingPerEventEntry] | None

event_title

event_title: str

Human-readable title shown to users in the billing UI.

is_one_time_event

is_one_time_event: bool | None

Whether this event can only be charged once per Actor run.

is_primary_event

is_primary_event: bool | None

Whether this event is the Actor's primary chargeable event.

model_config

model_config: Undefined