Help Center/ ModelArts/ API Reference/ DevServer Management/ Querying the List of Supported DevServer Scaling Specifications and Capacity Calculation
Updated on 2025-11-19 GMT+08:00

Querying the List of Supported DevServer Scaling Specifications and Capacity Calculation

Function

This API is used to query the specifications supported by DevServer supernode scaling and calculate the capacity.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

URI

GET /v1/{project_id}/dev-servers/hyperinstance/{id}/scale-evaluations

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

id

Yes

String

Definition: ID of the DevServer supernode.

Constraints: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Range: N/A

Default Value: N/A

project_id

Yes

String

Definition: Project ID. For details, see Obtaining a Project ID and Name.

Constraints: The value can contain 1 to 64 characters. Letters, digits, and hyphens (-) are allowed.

Range: N/A

Default Value: N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

evaluations

Array of ServerScaleEvaluation objects

Flavor capacity retention.

Table 3 ServerScaleEvaluation

Parameter

Type

Description

is_sold_out

Boolean

Specifies whether a flavor is sold out.

flavor

String

Flavor information.

resource_flavor

String

Resource flavor.

Example Requests

GET https://{endpoint}/v1/{project_id}/dev-servers/hyperinstance/{id}/live-scale-up

Example Responses

Status code: 200

Accepted

{
  "evaluations" : [ {
    "is_sold_out" : false,
    "flavor" : "physical.xx.8765",
    "resource_flavor" : "modelarts.bm.abc.arm.ei.d"
  } ]
}

Status Codes

Status Code

Description

200

Accepted

Error Codes

See Error Codes.