ListAiAppRiskEventByPage

Updated at:

Queries a paginated 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:ListAiAppRiskEventByPage

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Query

string

No

The query parameters.

{\"Lang\":\"zh\"}

PageSize

integer

No

The page size.

10

CurrentPage

integer

No

The current page number.

1

RegionId

string

No

The region ID.

cn-shanghai

NextToken

string

No

The token for the next query.

1a320d468c75e987765861ec6d10f8cd3aea63fac9610c5c

MaxResults

integer

No

The maximum number of results to return.

10

Response elements

Element

Type

Description

Example

object

PortalResponse<PageQueryResponse>

RequestId

string

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

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

TotalCount

integer

The total number of records.

10

PageSize

integer

The page size.

10

CurrentPage

integer

The current page number.

1

MaxResults

integer

The maximum number of results returned per page.

100

NextToken

string

The token for the next page. An empty value indicates that there are no more pages.

1a320d468c75e987f297484532c16e34d0ab6e7e43f8b73d

Items

array<object>

The returned data.

object

The data on the current page.

EventId

string

The ID of the event, which uniquely identifies a risk event.

e-a7gvnv3vid536dfxj

EventCode

string

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

de_aamexg3015

EventName

string

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

ALL

EventDesc

string

The description of the event, which details the content of the risk event.

Sensitive information detected in model output

EventDescEn

string

The English description of the event, which details the content of the risk event.

Sensitive information detected in model output

Type

string

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

0

Label

string

The label used to mark or classify the event.

label-03

LabelDesc

string

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

Sensitive data label

Level

string

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

normal

Status

string

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

resolved

StartTime

string

The time when the event started. The format is YYYY-MM-DD HH:mm:ss.

2025-12-21 15:30:19

EndTime

string

The time when the event processing was completed. The format is YYYY-MM-DD HH:mm:ss.

2026-01-10 11:42:31

AppId

string

The unique ID of the AI application.

id-xxx

AppName

string

The name of the AI application.

name-xxx

Channel

string

The source channel.

bailian

HandleTime

string

The time when the event was processed. The format is YYYY-MM-DD HH:mm:ss.

2026-01-10 11:42:31

Examples

Success response

JSON format

{
  "RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\n",
  "TotalCount": 10,
  "PageSize": 10,
  "CurrentPage": 1,
  "MaxResults": 100,
  "NextToken": "1a320d468c75e987f297484532c16e34d0ab6e7e43f8b73d",
  "Items": [
    {
      "EventId": "e-a7gvnv3vid536dfxj",
      "EventCode": "de_aamexg3015",
      "EventName": "ALL",
      "EventDesc": "xxx",
      "EventDescEn": "xxx",
      "Type": "0",
      "Label": "label-03",
      "LabelDesc": "xxxx",
      "Level": "normal",
      "Status": "resolved",
      "StartTime": "2025-12-21 15:30:19",
      "EndTime": "2026-01-10 11:42:31",
      "AppId": "id-xxx",
      "AppName": "name-xxx",
      "Channel": "bailian",
      "HandleTime": "2026-01-10 11:42:31\n"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

401 UserNotOwner No permission. No permission

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.