ListAiAppRiskEvent

Updated at:

Retrieves a list of risk events for AI applications.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-greenweb:ListAiAppRiskEvent

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

AppId

string

Yes

The ID of the application. This parameter is required.

id-xxx

RegionId

string

No

The region ID.

cn-shanghai

StartTime

string

No

The start time. Format: YYYY-MM-DD HH:mm:ss.

2026-01-01 16:08:38

EndTime

string

No

The end time. Format: YYYY-MM-DD HH:mm:ss.

2026-01-02 16:08:38

Response elements

Element

Type

Description

Example

object

PortalResponse<List>

Data

array<object>

The returned data.

object

The returned data item.

EventId

string

The event ID, which uniquely identifies a risk event.

id-xxx

EventCode

string

The event code, which identifies the type or category of the event.

hit-xxxx

EventName

string

The event name, which provides a brief description of the risk event.

name-xxx

EventDesc

string

The event description, which provides detailed information about the risk event.

desc-xxx

EventDescEn

string

The event description in English.

desc-xxx

Type

string

The event type, which indicates the category of the risk event, such as security or performance.

sensitiveData

Label

string

The label used to tag or categorize the event.

porn

LabelDesc

string

The label description, which provides detailed information about the label.

desc-xxx

Level

string

The risk level, which indicates the severity of the event, such as high, medium, or low.

high

Status

string

The event status, which indicates the processing status of the event, such as pending or processed.

resovled

StartTime

string

The effective period. Format: YYYY-MM-DD HH:mm:ss. The default time zone is UTC+08:00.

2025-07-22 16:41:15

EndTime

string

The end time. Format: YYYY-MM-DD HH:mm:ss.

2026-03-25 10:22:02

RequestId

string

The request ID, which is assigned by the backend to uniquely identify the request. You can use this ID to troubleshoot issues.

AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****

Examples

Success response

JSON format

{
  "Data": [
    {
      "EventId": "id-xxx",
      "EventCode": "hit-xxxx",
      "EventName": "name-xxx",
      "EventDesc": "desc-xxx",
      "EventDescEn": "desc-xxx\n",
      "Type": "sensitiveData",
      "Label": "porn",
      "LabelDesc": "desc-xxx",
      "Level": "high",
      "Status": "resovled",
      "StartTime": "2025-07-22 16:41:15",
      "EndTime": "2026-03-25 10:22:02"
    }
  ],
  "RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\n"
}

Error codes

HTTP status code

Error code

Error message

Description

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.