Skip to content

QuotaUsageRecord

← All HTTP schemas

A scope’s consumption in the current period.

Shape: object

Property Required Type Description Rules
tenantId yes string The tenant identifier.
agentName yes string The agent name. An empty string ("") means the tenant-wide counter.
period yes QuotaPeriod The counter’s interval.
periodStart yes string (date) The first day of the period (in local time).
runs no integer (int64) The number of runs completed in the period. pattern `^-?(?:0\
tokens no integer (int64) The total tokens spent in the period. pattern `^-?(?:0\
cost no number (double) The total amount spent in the period. Runs with undefined pricing are not included in this total (not even added as zero). pattern `^-?(?:0\
updatedAt yes string (date-time) The last-updated time (UTC).