cURL
curl --request POST \ --url https://external.aieev.cloud:5007/external/api/v1/endpoints/{endpoint_id}/scale \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "num_replicas": 3 } '
{ "endpoint_id": "51c910f7-ecde-4c6c-88f8-d8e37ca9d598", "previous_replicas": 1, "current_replicas": 3, "message": "Successfully scaled from 1 to 3 replicas" }
Pass your API key as a Bearer token. Create API keys in the project overview.
Unique endpoint ID.
Desired number of replicas (1-100).
1 <= x <= 100
3
Scale result.
"51c910f7-ecde-4c6c-88f8-d8e37ca9d598"
Replica count before scaling.
1
Replica count after scaling.
Result message.
"Successfully scaled from 1 to 3 replicas"