GetWorkload
Retrieve workload information by ID
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:GetWorkload |
get |
*Workload
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkloadId |
integer |
Yes |
Workload ID |
13 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Result |
||
| Data |
object |
Data |
|
| WorkloadId |
integer |
Workload ID |
13 |
| WorkloadName |
string |
Workload Name |
test |
| WorkloadDescription |
string |
Workload Description |
test |
| WorkloadType |
string |
Workload Type |
AI |
| Family |
string |
Workload cluster, such as AI or GPU |
AI |
| Scene |
string |
Usage scenario |
NLP-LLM |
| Scope |
string |
Scope identifier |
common |
| JobKind |
string |
Training Job Type |
PyTorchJob |
| DefaultCpuPerWorker |
integer |
Default CPU allocation per worker |
90 |
| DefaultGpuPerWorker |
integer |
Default GPU allocation per worker |
8 |
| DefaultMemoryPerWorker |
integer |
Default memory allocation per worker, in GB |
500 |
| DefaultShareMemory |
integer |
Default shared memory allocation, in GB |
500 |
| ParamSettings |
array<object> |
Parameter Settings |
|
|
object |
Parameter |
||
| ParamName |
string |
Parameter Name |
ITERATION |
| ParamDesc |
string |
Parameter Description |
number |
| ParamValue |
string |
Parameter Value |
100 |
| DefaultValue |
string |
Default Parameter Value |
100 |
| ParamRegex |
string |
Validation regex for the parameter |
[0-9]+ |
| ParamType |
string |
Parameter type |
number |
| StaticConfig |
object |
Static Configuration |
|
| FrameWork |
string |
Framework |
PyTorch |
| SoftwareStack |
string |
Software Stack |
python |
| Os |
string |
Operating System |
linux |
| Parameters |
string |
Parameter count |
7B |
| VersionId |
integer |
Version ID |
1 |
| RequestId |
string |
Request ID |
E67E2E4C-2B47-5C55-AA17-1D771E070AEF |
| AccessDeniedDetail |
string |
Access denial details |
{} |
| TotalCount |
integer |
Total count |
0 |
Examples
Success response
JSON format
{
"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": "E67E2E4C-2B47-5C55-AA17-1D771E070AEF",
"AccessDeniedDetail": "{}",
"TotalCount": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotFound | not found. | Data does not exist |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.