ListAlgorithmVersions
Retrieve a list of algorithm version details.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/algorithms/{AlgorithmId}/versions HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AlgorithmId |
string |
No |
The algorithm ID. |
algo-sidjc8134hv |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The page size for paging. |
10 |
| PageNumber |
integer |
No |
The current page number. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response to the request. |
||
| AlgorithmVersions |
array<object> |
A list of algorithm version details. |
|
|
object |
Algorithm version details. |
||
| AlgorithmId |
string |
The algorithm ID. |
algo-sidjc8134hv |
| AlgorithmName |
string |
The algorithm name. |
llm_train |
| AlgorithmProvider |
string |
The algorithm provider. |
pai |
| AlgorithmVersion |
string |
The algorithm version. |
v0.1.0 |
| GmtCreateTime |
string |
The time when the algorithm was created. |
2024-01-19T02:00:26Z |
| GmtModifiedTime |
string |
The time when the algorithm was last updated. |
2024-01-22T02:00:59Z |
| TenantId |
string |
The tenant ID that owns the algorithm. |
123456789 |
| UserId |
string |
The user ID that owns the algorithm. |
123456789 |
| TotalCount |
integer |
The total number of algorithm versions. |
23 |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Examples
Success response
JSON format
{
"AlgorithmVersions": [
{
"AlgorithmId": "algo-sidjc8134hv",
"AlgorithmName": "llm_train",
"AlgorithmProvider": "pai",
"AlgorithmVersion": "v0.1.0",
"GmtCreateTime": "2024-01-19T02:00:26Z",
"GmtModifiedTime": "2024-01-22T02:00:59Z",
"TenantId": "123456789",
"UserId": "123456789"
}
],
"TotalCount": 23,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.