ListAiAppByPage

Updated at:

Queries a paginated list of 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:ListAiAppByPage

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Query

string

No

The query conditions.

{}

PageSize

integer

No

The page size.

10

CurrentPage

integer

No

The current page number.

1

RegionId

string

No

The region ID.

cn-shanghai

Response elements

Element

Type

Description

Example

object

PortalResponse<PageQueryResponse>

RequestId

string

The ID of the request, which is assigned by the backend to uniquely identify the request and can be used to troubleshoot issues.

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

TotalCount

integer

The total number of entries.

10

PageSize

integer

The page size.

10

CurrentPage

integer

The current page number.

1

Items

array<object>

The data on the current page.

array<object>

The data on the current page.

Uid

string

The UID of the user.

104813*****2399

AppId

string

The ID of the AI application.

id-xxx

AppName

string

The name of the application.

name-xxx

Channel

string

The channel.

bailian

WarningCount

integer

The number of alerts.

10

RiskLevel

string

The risk level.

high

LastTraceTime

string

The last active time. The format is YYYY-MM-DD HH:mm:ss.

2026-01-01 00:00:00

RiskEvents

array<object>

The risk events.

array<object>

The risk events.

EventCode

string

The code of the risk event.

hit-xxx

EventName

string

The name of the risk event.

Abuse and personal attacks

EventIds

array

The list of risk event IDs.

string

The list of risk event IDs.

xx-xx-xx

Labels

array<object>

The list of label items.

object

The label.

Type

string

The type.

sensitiveData

Label

string

The label name.

porn

LabelDesc

string

The label description.

The output content contains insulting or discriminatory remarks against others

EventStatus

string

The event status. Valid values:

  • unhandled: Unhandled.

  • resolved: Resolved.

resolved

EventCount

integer

The number of events.

10

EventDescs

array

The event descriptions.

string

The event descriptions.

Abusive language is detected in the output of the AI application

TraceStatus

string

The Tracing Analysis status.

enable

AppStatus

string

The application status.

online

RiskStats

array<object>

The risk statistics.

object

The risk statistics object.

Type

string

The type.

content_moderation

RiskCount

integer

The number of risks.

1

RequestCount

integer

The number of requests.

10

Examples

Success response

JSON format

{
  "RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\n",
  "TotalCount": 10,
  "PageSize": 10,
  "CurrentPage": 1,
  "Items": [
    {
      "Uid": "104813*****2399",
      "AppId": "id-xxx",
      "AppName": "name-xxx",
      "Channel": "bailian",
      "WarningCount": 10,
      "RiskLevel": "high",
      "LastTraceTime": "2026-01-01 00:00:00",
      "RiskEvents": [
        {
          "EventCode": "hit-xxx",
          "EventName": "Verbal abuse and personal attacks",
          "EventIds": [
            "xx-xx-xx"
          ],
          "Labels": [
            {
              "Type": "sensitiveData",
              "Label": "porn",
              "LabelDesc": "The output content contains insulting or discriminatory remarks against others"
            }
          ],
          "EventStatus": "resolved",
          "EventCount": 10,
          "EventDescs": [
            "Abusive language was detected in the output of the AI application"
          ]
        }
      ],
      "TraceStatus": "enable",
      "AppStatus": "online",
      "RiskStats": [
        {
          "Type": "content_moderation",
          "RiskCount": 1,
          "RequestCount": 10
        }
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.