update-endpoint
Modify RunPod endpoint configurations including worker scaling, idle timeout, and scaling behavior to optimize resource allocation and performance.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endpointId | Yes | ID of the endpoint to update | |
idleTimeout | No | New idle timeout in seconds | |
name | No | New name for the endpoint | |
scalerType | No | Scaler type | |
scalerValue | No | Scaler value | |
workersMax | No | New maximum number of workers | |
workersMin | No | New minimum number of workers |
Input Schema (JSON Schema)
{
"properties": {
"endpointId": {
"description": "ID of the endpoint to update",
"type": "string"
},
"idleTimeout": {
"description": "New idle timeout in seconds",
"type": "number"
},
"name": {
"description": "New name for the endpoint",
"type": "string"
},
"scalerType": {
"description": "Scaler type",
"enum": [
"QUEUE_DELAY",
"REQUEST_COUNT"
],
"type": "string"
},
"scalerValue": {
"description": "Scaler value",
"type": "number"
},
"workersMax": {
"description": "New maximum number of workers",
"type": "number"
},
"workersMin": {
"description": "New minimum number of workers",
"type": "number"
}
},
"required": [
"endpointId"
],
"type": "object"
}