You can create a search index under a search library. A search library can contain multiple search indexes of different types.
Operation description
Before using this API, ensure that you fully understand the Intelligent Search billing method and pricing.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:CreateSearchIndex |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SearchLibName |
string |
No |
Search library name.
|
test1 |
| IndexType |
string |
Yes |
The category of the index. Valid values:
Note
This feature is in the public preview phase. You can use this feature for free for 1,000 hours of videos.
Valid values:
|
mm |
| IndexStatus |
string |
No |
Index status. Default value is Active. Valid values:
Valid values:
|
Active |
| IndexConfig |
string |
No |
Index configuration |
{} |
IndexConfig Description
| Feature | Name | Type | Required | Description | Example Value |
| IndexConfig | object | No | This parameter contains the configuration parameters for the index. | {"level":"Shared"} | |
| Specification | level | string | No | Resource specification parameter for face or LLM (large model) analysis. Default value is "Shared". Valid values:
| "Shared" |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID. |
*****ACB-44F2-5F2D-88D7-1283E70***** |
| Success |
string |
Indicates whether the invocation succeeded. Valid values:
|
true |
| Code |
string |
Return code. |
200 |
Examples
Success response
JSON format
{
"RequestId": "*****ACB-44F2-5F2D-88D7-1283E70*****",
"Success": "true",
"Code": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.