GetAlgorithm
Retrieves the details of an algorithm.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pai:GetAlgorithm |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/algorithms/{AlgorithmId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AlgorithmId |
string |
No |
The algorithm ID. |
algo-xsldfvu1334 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| AlgorithmDescription |
string |
The algorithm description. |
Large language model training |
| AlgorithmId |
string |
The algorithm ID. |
algo-xsldfvu1334 |
| AlgorithmName |
string |
The algorithm name. |
llm_training |
| AlgorithmProvider |
string |
The algorithm provider. |
pai |
| GmtCreateTime |
string |
The time when the algorithm was created. The time follows the ISO 8601 standard in UTC. |
2024-07-10T11:49:47Z |
| GmtModifiedTime |
string |
The time when the algorithm was last updated. The time follows the ISO 8601 standard in UTC. |
2024-07-10T11:49:47Z |
| WorkspaceId |
string |
The workspace ID. |
12345 |
| UserId |
string |
The ID of the user to whom the algorithm belongs. |
123456789 |
| TenantId |
string |
The ID of the tenant to whom the algorithm belongs. |
123456789 |
| DisplayName |
string |
The display name of the algorithm. |
llm_training |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"AlgorithmDescription": "Large language model training.",
"AlgorithmId": "algo-xsldfvu1334",
"AlgorithmName": "llm_training",
"AlgorithmProvider": "pai",
"GmtCreateTime": "2024-07-10T11:49:47Z",
"GmtModifiedTime": "2024-07-10T11:49:47Z",
"WorkspaceId": "12345",
"UserId": "123456789",
"TenantId": "123456789",
"DisplayName": "llm_training"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.