Signature
Parameters
Optional[str]
Hash of the instance template to use for workers.
Optional[int]
ID of the instance template to use for workers.
bool
default:"False"
Disable the default search query filters when finding offers.
Optional[str]
Additional CLI arguments passed when launching worker instances.
Optional[str]
Human-readable name for the endpoint this group belongs to.
Optional[int]
ID of the endpoint this worker group belongs to.
int
default:"3"
Number of test workers to spin up during initial scaling evaluation.
Optional[float]
Minimum GPU RAM in GiB required per worker.
Optional[str]
Query string for filtering available GPU offers (e.g. “gpu_name=RTX_4090 num_gpus=1”).
Optional[float]
Minimum load (requests/sec) below which idle workers are scaled down.
Optional[float]
Target worker utilization ratio (0.0-1.0); workers are added to stay at this level.
Optional[float]
Multiplier applied to warm worker count for pre-warming cold workers.
Optional[int]
Number of pre-warmed (cold) workers to keep ready.
Returns
str, Result from the API call.