GetSandboxMetricsParams

class baseten.client.managementapi.GetSandboxMetricsParams(*, team_id=None, mode=None, start_epoch_millis=None, end_epoch_millis=None, metrics=None)

Bases: BaseModel

Parameters:
  • team_id (Annotated[str | None, MinLen(min_length=1)])

  • mode (Literal['CURRENT', 'SUMMARY', 'SERIES'] | str | None)

  • start_epoch_millis (Annotated[int | None, Ge(ge=0)])

  • end_epoch_millis (Annotated[int | None, Ge(ge=0)])

  • metrics (Annotated[list[Literal['baseten_sandbox_requests_total', 'baseten_sandbox_cpu_usage_cores', 'baseten_sandbox_memory_bytes'] | str] | None, ~annotated_types.MinLen(min_length=1), ~annotated_types.MaxLen(max_length=3)])

model_config = {}

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