Skip to main content
PUT
update workergroup

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

The ID of the workergroup to update.

Example:

4242

Body

application/json
endpoint_id
integer
required

ID of the endpoint the workergroup belongs to.

Example:

123

template_hash
string

Template hash for the workergroup.

Example:

"abc123def456"

template_id
integer

Template ID for the workergroup.

Example:

456

search_params
string

Search filters for offers, as a query string or JSON object. Merged into the workergroup's current filters; where both set the same filter, this value wins.

Example:

"gpu_name=RTX_3090 rentable=true"

launch_args
string

Launch arguments for creating instances.

Example:

"--env VAR=value"

gpu_ram
number

Estimated GPU memory, in GB, that the model needs. Used to estimate worker load times.

Example:

24

Response

Successfully updated the workergroup.

success
boolean
Example:

true