All Products
Search
Document Center

AI Guardrails:API overview

Last Updated:Mar 31, 2026

AI Guardrails provides configuration management API operations for building and managing custom image libraries and text libraries. Use these APIs to integrate library management directly into your own systems instead of using the console.

Note For faster integration, use the software development kit (SDK). The SDK handles request signing, encapsulation, and protocol details automatically. If no SDK is available for your language, call the APIs directly. See SDK overview.

This topic describes the AI Guardrails configuration management API operations. You can use these API operations to configure custom text libraries and image galleries.

Navigation

AI Guardrails lets you create custom text libraries and image galleries. You can perform these operations in the console or by calling API operations for better integration with your management system.

TypeFeature
Custom image libraryManage custom image libraries in the Alibaba Cloud Security console by calling API operations.
Custom text libraryManage custom text libraries in the Alibaba Cloud Security console by calling API operations.

Custom similar image library

APIDescription
DescribeImageLibQueries all custom image libraries.
CreateImageLibCreates a custom image library.
UpdateImageLibUpdates the name and applicable bizTypes parameter of a custom image library.
DeleteImageLibDeletes a custom image library.
DescribeImageFromLibQueries the images in a custom image library.
DeleteImageFromLibDeletes images from a custom image library.
UploadImageToLibAdds image metadata to a custom image library.

Custom text library

APIDescription
DescribeKeywordLibQueries all custom text libraries.
CreateKeywordLibCreates a custom text library.
UpdateKeywordLibUpdates the information of a custom text library.
DeleteKeywordLibDeletes a custom text library.
CreateKeywordAdds text to a specified text library.
DescribeKeywordSearches for text in a specified text library.
DeleteKeywordDeletes keywords from a custom text library.