All Products
Search
Document Center

Intelligent Media Services:ListRecognitionLibs

Last Updated:Mar 30, 2026

Perform a paged query to retrieve information about all Custom detection libraries under the current User.

Operation description

  • This API currently supports the following Regions: China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen). Other Regions are not supported at this time.

  • The queries per second (QPS) limit for this API is 50 per User. If this limit is exceeded, API calls will be subject to Rate Limiting, which may Impact your business. Please invoke the API appropriately. For more information, see QPS limits.

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

ice:ListRecognitionLibs

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Algorithm

string

Yes

The type of recognition algorithm. Valid values:

  • landmark

  • object

  • logo

  • face

  • label

landmark

PageNumber

integer

Yes

The page number.

1

PageSize

integer

Yes

The number of entries per page. Valid values: 1 to 50.

10

LibId

string

No

Library ID. If provided, the query returns only this specific library. A list of IDs separated by commas (",") is also supported.

lib1,lib2,lib3

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

******11-DB8D-4A9A-875B-275798******

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

TotalCount

integer

The total number of entries returned.

180

Libs

object

Lib

array<object>

The recognition libraries.

object

LibId

string

The ID of the recognition library.

*************24b47865c6**************

LibName

string

The name of the recognition library.

Large Model ACP

LibDescription

string

The description of the recognition library.

Library for product recognition

Examples

Success response

JSON format

{
  "RequestId": "******11-DB8D-4A9A-875B-275798******",
  "PageNumber": 1,
  "PageSize": 10,
  "TotalCount": 180,
  "Libs": {
    "Lib": [
      {
        "LibId": "*************24b47865c6**************",
        "LibName": "Large Model ACP",
        "LibDescription": "Library for product recognition"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError errorMsg:%s

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.