Retrieves the component configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetAgentConfig |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/am/agent/getAgentConfig HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentId |
string |
Yes |
The ID of the component. |
74a86327-3170-412c-8e67-da3389ec56a9 |
| configName |
string |
No |
The name of the configuration. |
Configuration-x |
| configId |
string |
No |
The ID of the component configuration to retrieve. |
4d5ecf02-3d01-11f0-8c90-00163e1029af |
| current |
string |
No |
The current page number. This parameter is available only when pagination by page number is used. |
1 |
| pageSize |
string |
No |
The number of entries to return on each page. Default value: 10. |
10 |
| region |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The status code. |
Success |
| data |
array<object> |
The returned data. |
|
|
array<object> |
The returned data. |
||
| configId |
string |
The ID of the component configuration. |
4d5ecf02-3d01-11f0-8c90-00163e1029af |
| configName |
string |
The name of the configuration. |
Configuration-x |
| configType |
string |
The type of the configuration. |
Custom |
| content |
string |
The text of the chat content. |
The specific content of the copilot reply |
| createdAt |
string |
The creation time. |
2026-07-10T17:57:10 |
| resource |
object |
The information about the resources to which the configuration is applied. |
|
| cluster |
integer |
The number of clusters to which the configuration is applied. |
0 |
| node |
integer |
The number of nodes to which the configuration is applied. |
0 |
| updatedAt |
string |
The update time. |
2026-07-10T17:57:10 |
| message |
string |
The error message.
|
SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom |
| requestId |
string |
Id of the request |
2D693121-C925-5154-8DF6-C09A8B369822 |
| total |
integer |
The total number of returned records. |
10 |
Examples
Success response
JSON format
{
"code": "Success",
"data": [
{
"configId": "4d5ecf02-3d01-11f0-8c90-00163e1029af",
"configName": "Configuration-x",
"configType": "Custom",
"content": "The specific content of the copilot reply",
"createdAt": "2026-07-10T17:57:10",
"resource": {
"cluster": 0,
"node": 0
},
"updatedAt": "2026-07-10T17:57:10"
}
],
"message": "SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822",
"total": 10
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Sysom.ServerError | Server error, please correct the code according to the error message. %s. | Server error, please correct the code according to the error message |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.