EffectiveUsageLimit

class baseten.client.managementapi.EffectiveUsageLimit(*, type, unit, threshold, source_group)

Bases: BaseModel

Parameters:
  • type (Literal['REQUEST', 'TOKEN', 'CONCURRENT_REQUEST', 'UNCACHED_INPUT_TOKEN', 'OUTPUT_TOKEN'] | str)

  • unit (Literal['DAY'] | str)

  • threshold (Annotated[int, Ge(ge=0)])

  • source_group (str)

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].