Invokes the CPU high agent streaming SSE interface.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:CpuHighAgentStreamResponse |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/highCpuAgent/streamResponse HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| llmParamString |
string |
No |
The input parameter for the CPU high agent service. Refer to the standard LLM API input parameter dict. Convert it to a string and pass it in llmParamString. |
"llmParamString": "{\"messages\": [{\"role\": \"user\", \"content\": \"The CPU utilization of instance i-67890 for user 12345 has been high in the last 2 minutes. Analyze the cause based on the flame graph information from the last 2 minutes.\"}]}" |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The status code.
|
Success |
| data |
string |
The response data. |
|
| 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 |
Examples
Success response
JSON format
{
"code": "Success",
"data": "",
"message": "SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.