All Products
Search
Document Center

Platform For AI:ListWorkloads

Last Updated:Jul 25, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Get Workload List

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
eflo:ListWorkloadslist
*Workload
acs:eflo:{#regionId}:{#accountId}:workload/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ScopestringNo

Scope

common

Response parameters

ParameterTypeDescriptionExample
object

Result

Dataarray<object>

Data

Workloadobject
WorkloadIdlong

Workload ID

13
WorkloadNamestring

Workload Name

test
WorkloadDescriptionstring

Workload Description

test
WorkloadTypestring

Workload Type

AI
Familystring

Workload Cluster, AI, GPU

AI
Scenestring

Workload Usage Scenario

NLP-LLM
Scopestring

Scope Identifier for Workload Usage

common
JobKindstring

Training Job Type

PyTorchJob
DefaultCpuPerWorkerinteger

Default CPU Allocation

90
DefaultGpuPerWorkerinteger

Default GPU Allocation

8
DefaultMemoryPerWorkerinteger

Default Memory (GB) Allocation

500
DefaultShareMemoryinteger

Default Shared Memory (GB) Allocation

500
ParamSettingsarray<object>

Parameter Settings

ParamSettingobject
ParamNamestring

Parameter Name

ITERATION
ParamDescstring

Parameter Description

number
ParamValuestring

Parameter Value

100
DefaultValuestring

Default Parameter Value

100
ParamRegexstring

Parameter Regular Expression

[0-9]+
ParamTypestring

Parameter type

number
StaticConfigobject

Static Configuration

FrameWorkstring

Framework

PyTorch
SoftwareStackstring

Software Stack

python
Osstring

Operating System

linux
Parametersstring

Number of Parameters

7B
VersionIdlong

Version ID

1
RequestIdstring

Request ID

4AC08332-436C-57A3-9FBA-26772B1A9901
AccessDeniedDetailstring

Access Denied Information

{}
TotalCountlong

total

1

Examples

Sample success responses

JSONformat

{
  "Data": [
    {
      "WorkloadId": 13,
      "WorkloadName": "test",
      "WorkloadDescription": "test",
      "WorkloadType": "AI",
      "Family": "AI",
      "Scene": "NLP-LLM",
      "Scope": "common",
      "JobKind": "PyTorchJob",
      "DefaultCpuPerWorker": 90,
      "DefaultGpuPerWorker": 8,
      "DefaultMemoryPerWorker": 500,
      "DefaultShareMemory": 500,
      "ParamSettings": [
        {
          "ParamName": "ITERATION",
          "ParamDesc": "number",
          "ParamValue": 100,
          "DefaultValue": 100,
          "ParamRegex": "[0-9]+",
          "ParamType": "number"
        }
      ],
      "StaticConfig": {
        "FrameWork": "PyTorch",
        "SoftwareStack": "python",
        "Os": "linux",
        "Parameters": "7B"
      },
      "VersionId": 1
    }
  ],
  "RequestId": "4AC08332-436C-57A3-9FBA-26772B1A9901",
  "AccessDeniedDetail": {},
  "TotalCount": 1
}

Error codes

For a list of error codes, visit the Service error codes.