GetAiAppDetail
Retrieves the details of an AI application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:GetAiAppDetail |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the AI application. This parameter is required. The AppId is derived from an AI application on an integrated external AI platform, such as Model Studio or Dify. Before calling this API, you must call InitAiAppScan to initiate the activation and then call ConfirmAiAppScan to confirm the activation of the AI application detection service. To obtain a valid AppId, call ListAiAppByPage to query the list of integrated applications. |
id-xxx |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| StartTime |
string |
No |
The start time. Specify the time in the YYYY-MM-DD HH:mm:ss format. |
2026-01-01 00:00:00 |
| EndTime |
string |
No |
The end time. Specify the time in the YYYY-MM-DD HH:mm:ss format. |
2026-01-02 00:00:00 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PortalResponse |
||
| RequestId |
string |
The ID of the request. It is generated by the server and uniquely identifies the request. You can use this ID to troubleshoot issues. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
| Uid |
string |
The UID of the user. |
17726*****370735 |
| AppId |
string |
The ID of the AI application. |
id-xxx |
| AppName |
string |
The name of the application. |
app-xxx |
| Score |
integer |
The score. |
100 |
| Chart |
object |
The chart. |
|
| X |
array |
The X-axis value of the coordinate point. |
|
|
string |
The X-axis value of the coordinate point. |
20260101 |
|
| Y |
array<object> |
The Y-axis value of the coordinate point. |
|
|
object |
The data. |
||
| Name |
string |
The name. |
score |
| Data |
array |
The returned collection. |
|
|
integer |
The score. |
100 |
|
| RiskEvents |
array<object> |
The risk events. |
|
|
array<object> |
|||
| EventCode |
string |
The code of the risk event. |
hit_xxx |
| EventName |
string |
The name of the risk event. |
Verbal abuse and personal attacks |
| EventIds |
array |
The list of risk event IDs. |
|
|
string |
The ID of the risk event. |
id-xxx |
|
| Labels |
array<object> |
The labels. |
|
|
object |
The labels. |
||
| Type |
string |
The type. |
contentModeration |
| Label |
string |
The labels. |
inappropriate_profanity |
| LabelDesc |
string |
The description of the label. |
The output content contains insulting or discriminatory remarks |
| EventStatus |
string |
The status of the event. Valid values:
|
resolved |
| EventCount |
integer |
The number of events. |
10 |
| RiskStats |
array<object> |
The risk statistics information. |
|
|
object |
The first risk statistics information. |
||
| Type |
string |
The type of the risk statistics. |
content_moderation |
| RiskCount |
integer |
The number of risks. |
1 |
| RequestCount |
integer |
The number of requests. |
10 |
| Property |
object |
The properties. |
|
| Hostname |
string |
The hostname. |
xx.local |
| Ip |
string |
The IP address. |
1.xx.xx |
| Mac |
string |
The MAC address. |
xx.xx.xx |
|
string |
The email address. |
xx@qoder.alibaba-inc.com |
|
| Channel |
string |
The channel information. |
qoder |
Examples
Success response
JSON format
{
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
"Uid": "17726*****370735",
"AppId": "id-xxx",
"AppName": "app-xxx",
"Score": 100,
"Chart": {
"X": [
"20260101"
],
"Y": [
{
"Name": "score",
"Data": [
100
]
}
]
},
"RiskEvents": [
{
"EventCode": "hit_xxx",
"EventName": "Insults and personal attacks",
"EventIds": [
"id-xxx"
],
"Labels": [
{
"Type": "contentModeration",
"Label": "inappropriate_profanity",
"LabelDesc": "The output content contains insulting or discriminatory remarks"
}
],
"EventStatus": "resolved",
"EventCount": 10
}
],
"RiskStats": [
{
"Type": "content_moderation",
"RiskCount": 1,
"RequestCount": 10
}
],
"Property": {
"Hostname": "xx.local",
"Ip": "1.xx.xx",
"Mac": "xx.xx.xx",
"Email": "xx@qoder.alibaba-inc.com"
},
"Channel": "qoder"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 200 | BusinessError.%s | %s. | The business rule verification fails, and the current request conflicts with existing data or resource status. |
| 400 | InvalidParameter.%s | %s. | The request parameters are invalid. Please check the parameter values or value ranges and try again. |
| 400 | MissingParameter.%s | %s. | The request is missing required parameters. Please provide them and try again. |
| 400 | OperationFailed | %s. | Request processing failed, please try again later. If the problem is not resolved, contact technical support and provide RequestId. |
| 400 | ResourceNotFound.%s | %s. | The requested resource does not exist. Please check the resource information and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.