Web search GlobalAuto API
This topic describes the API reference and usage of the GlobalAuto engine in UnifiedSearch.
Overview
GlobalAuto: Covers domestic and international sources and returns 1–10 results. The engine automatically selects the sources, so you do not need to specify them.
GlobalAuto is currently in limited availability and is available only to designated customers.
API reference
Request parameters
Parameter | Type | Required | Default | Description | Example |
query | string | Yes | - | The search query. The value must be between 1 and 500 characters. | 2025 Apsara Conference |
engineType | string | No | Generic | The type of search engine. You must set this parameter to GlobalAuto. | GlobalAuto |
contents.mainText | bool | No | false | Specifies whether to return the main text. | true |
advancedParams | map<string, string> | No | - | The advanced parameters. These are not required for most use cases.
| |
Response parameters
Field | Type | Nullable | Description | Example |
requestId | string | No | The request ID. Include this ID when filing a support ticket. | ga-doc-example |
pageItems[].title | string | No | The page title. | Apsara Conference Introduction_About Apsara-Alibaba Cloud |
pageItems[].link | string | No | The page URL. | https://yunqi.aliyun.com/2025/about |
pageItems[].snippet | string | No | A dynamic summary of the web page relevant to the query. This summary is suitable for direct use and citation by models. | Apsara Conference Introduction_About Apsara-Alibaba Cloud\n\nName: Apsara Conference\n\nDate: 2025.09.24 - 09.26\n\nLocation: Hangzhou Cloud Town International Convention and Exhibition Center... |
pageItems[].publishedTime | string | Yes | The publication time of the web page in ISO 8601 format. Some sources may not return this field. | 2025-09-24T00:00:00+08:00 |
pageItems[].mainText | string | Yes | The main text of the web page. This field is returned when contents.mainText is set to true. Some sources return an empty string | Apsara Conference Introduction_About Apsara-Alibaba Cloud\n\nName: Apsara Conference\n\nDate: 2025.09.24 - 09.26... |
pageItems[].images | string[] | Yes | The URLs of images on the web page. Up to three images are returned. | ["https://img.alicdn.com/imgextra/i1/O1CN01ahIBD21yqazSimk1W_!!6000000006630-2-tps-960-960.png"] |
pageItems[].hostname | string | Yes | The hostname of the site. | yunqi.aliyun.com |
pageItems[].hostLogo | string | Yes | The logo of the host site. Some sources may not return this field. | - |
searchInformation.searchTime | int64 | No | The search duration, in milliseconds. | 469 |
queryContext.engineType | string | No | The type of search engine used. | GlobalAuto |
queryContext.originalQuery.query | string | No | The original query from the request. | 2025 Apsara Conference |
Example
Request body
{
"query": "2025 Apsara Conference",
"engineType": "GlobalAuto",
"contents": {
"mainText": true
},
"advancedParams": {
"numResults": "3"
}
}Response body (The example shows only the first item. Subsequent items share the same structure.)
{
"requestId": "ga-doc-example",
"pageItems": [
{
"title": "Apsara Conference Introduction_About Apsara-Alibaba Cloud",
"link": "https://yunqi.aliyun.com/2025/about",
"snippet": "Apsara Conference Introduction_About Apsara-Alibaba Cloud\n\nName: Apsara Conference\n\nDate: 2025.09.24 - 09.26\n\nLocation: Hangzhou Cloud Town International Convention and Exhibition Center\n\nTheme: AI and Cloud: A Symbiotic Future\n\nThe Apsara Conference dates back to 2009 and has a history of 16 years. It began as the \"First China Website Development Forum,\" evolved into the \"Alibaba Cloud Developer Conference\" in 2011, and was officially renamed the \"Apsara Conference\" in 2015. It has consistently led and witnessed every significant moment in the three waves of China's cloud computing evolution. From an initial technical exchange event with a few hundred participants, it has grown into a global technology event featuring a main forum, hundreds of parallel sessions, and a 40,000-square-meter technology exhibition. It has become a \"technology trendsetter\" in the cloud computing and AI fields in China and globally, embodying the mission of advancing new ideas, practices, and breakthroughs in computing technology.",
"publishedTime": null,
"mainText": "Apsara Conference Introduction_About Apsara-Alibaba Cloud\n\nName: Apsara Conference\n\nDate: 2025.09.24 - 09.26\n\nLocation: Hangzhou Cloud Town International Convention and Exhibition Center\n\nTheme: AI and Cloud: A Symbiotic Future\n\nThe Apsara Conference dates back to 2009 and has a history of 16 years. It began as the \"First China Website Development Forum,\" evolved into the \"Alibaba Cloud Developer Conference\" in 2011, and was officially renamed the \"Apsara Conference\" in 2015. It has consistently led and witnessed every significant moment in the three waves of China's cloud computing evolution. From an initial technical exchange event with a few hundred participants, it has grown into a global technology event featuring a main forum, hundreds of parallel sessions, and a 40,000-square-meter technology exhibition. It has become a \"technology trendsetter\" in the cloud computing and AI fields in China and globally, embodying the mission of advancing new ideas, practices, and breakthroughs in computing technology.\n\nAs an annual event for the cloud computing and AI industry chain in China, the Apsara Conference brings together upstream and downstream ecosystem partners to present and exchange ideas on industry trends, technological innovations, key products, and the latest applications across the entire industry chain.",
"images": [
"https://img.alicdn.com/imgextra/i1/O1CN01ahIBD21yqazSimk1W_!!6000000006630-2-tps-960-960.png"
],
"hostname": "yunqi.aliyun.com",
"hostLogo": null
}
],
"searchInformation": {
"searchTime": 469
},
"queryContext": {
"engineType": "GlobalAuto",
"originalQuery": {
"query": "2025 Apsara Conference"
},
"rewrite": {
"enabled": false
}
}
}Error codes
Status | Error code | Error message | Solution |
404 | InvalidAccessKeyId.NotFound | Specified access key is not found. | Verify that your AccessKey ID and AccessKey secret are correct. |
403 | Retrieval.NotActivate | Please activate AI search service | Place an order or contact your account manager to activate the service. |
403 | Retrieval.Arrears | Please recharge first. | Your account has an insufficient balance. Please add funds to your account. |
403 | Retrieval.NotAuthorised | Please authorize the AliyunIQSFullAccess privilege to the sub-account. | The sub-account is not authorized. Refer to the sub-account authorization documentation for instructions. |
403 | Retrieval.TestUserPeriodExpired | The test period has expired. | Your trial period has expired (valid for 15 days after you place the order). Contact your account manager to upgrade to a paid plan. |
429 | Retrieval.Throttling.User | Request was denied due to user flow control. | The request rate has exceeded the limit. Contact your account manager to upgrade your plan. |
429 | Retrieval.TestUserQueryExceeded | The query exceed the limit | The number of queries has exceeded the daily limit for the trial (1,000 queries/day). Contact your account manager to upgrade to a paid plan. |
API call
HTTP call
curl -X POST https://cloud-iqs.aliyuncs.com/search/unified \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"query": "2025 Apsara Conference",
"engineType": "GlobalAuto",
"contents": {
"mainText": true
}
}'SDK call
For more information, see SDK integration.
MCP call
For more information, see MCP integration.
Skill call
For more information, see Skill integration.