UsageLimit
Usage-limit windows (five-hour, weekly), as Agent.status, the
LimitsUpdated event and the UsageLimited failure report them.
Since v0.3.0
Models
Section titled “Models”LimitWindow
Section titled “LimitWindow”Normalized limit window. other keeps the provider’s name in label.
Signature
declare const LimitWindow: Schema.Literals<readonly ["five_hour", "weekly", "other"]>Since v0.1.0
LimitWindow (type alias)
Section titled “LimitWindow (type alias)”Signature
type LimitWindow = typeof LimitWindow.TypeSince v0.1.0
LimitWindowStatus
Section titled “LimitWindowStatus”Usage of one limit window.
Signature
declare const LimitWindowStatus: Schema.Struct<{ readonly window: Schema.Literals<readonly ["five_hour", "weekly", "other"]> readonly label: Schema.String readonly usedPercent: Schema.NullOr<Schema.Number> readonly resetsAt: Schema.NullOr<Schema.DateTimeUtcFromMillis> readonly model: Schema.OptionFromNullOr<Schema.String>}>Since v0.1.0
LimitWindowStatus (type alias)
Section titled “LimitWindowStatus (type alias)”Signature
type LimitWindowStatus = typeof LimitWindowStatus.TypeSince v0.1.0