Skip to main content
PUT
update endpoint

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the endpoint group to update

Example:

4242

Body

application/json
min_load
number

Minimum floor load in perf units/s (token/s for LLMs)

Example:

0

target_util
number

Target capacity utilization (fraction, max 1.0)

Example:

0.9

cold_mult
number

Cold/stopped instance capacity target as multiple of hot capacity target

Example:

2.5

cold_workers
integer

Min number of workers to keep 'cold' when you have no load

Example:

5

max_workers
integer

Max number of workers your endpoint group can have

Example:

20

min_cold_load
number

Floor on the load used to size the total pool of active and inactive workers, in load per second

Required range: x >= 0
Example:

0

max_queue_time
number

Maximum seconds of expected queue time allowed to build up on each worker

Example:

30

target_queue_time
number

Endpoint-wide queue time, in seconds, above which the serverless engine scales up aggressively

Example:

10

inactivity_timeout
number

Seconds without queued or in-progress requests after which active workers are stopped down to the min_load floor. Can be changed but not removed once set.

Example:

600

endpoint_state
enum<string>

Set to suspended or stopped to pause the serverless engine, or active to resume it. See Pricing for how each state is billed.

Available options:
active,
suspended,
stopped
Example:

"active"

endpoint_name
string

Deployment endpoint name

Example:

"my_endpoint"

Response

Success response

success
boolean
Example:

true