Interface AgentOSSpendMeterConfig

The spend meter processRequest reserves against, and how a request maps to an account and units.

interface AgentOSSpendMeterConfig {
    meter: ISpendMeter;
    accountIdOf?(input): string;
    unitsOf?(input): number;
}

Methods

Properties

Methods

  • The account a request is metered under. Default: the organization, else the user.

    Parameters

    Returns string

Properties