Web Search
The Web Search is a specialized search engine for large language models. Building upon traditional search engine capabilities like web crawling and ranking, it enhances intent recognition to return results better suited for LLM processing (including webpage titles, URLs, summaries, site names, favicons etc.).
Documentation Index
Fetch the complete documentation index at: https://docs.z.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
Config desired response language for HTTP requests.
en-US,en "en-US,en"
Body
The search engine code to call. search-prime: Z.AI Premium Version Search Engine
search-prime "search-prime"
The content to be searched.
The number of results to return
Fillable range: 1-50, maximum 50 results per single search
Default is 10
Supported search engines:
search_pro_jina.
1 <= x <= 50Used to limit the scope of search results and only return content from specified whitelist domains.
Whitelist: Directly enter the domain name (e.g., www.example.com)
Supported search engines:
search_pro_jina
Search for webpages within a specified time range.
Default is noLimit
Fillable values:
oneDay: within one day
oneWeek: within one week
oneMonth: within one month
oneYear: within one year
noLimit: no limit (default)
Supported search engines:
search_pro_jina
oneDay, oneWeek, oneMonth, oneYear, noLimit Passed by the user side, needs to be unique; used to distinguish each request, 6–64 characters. If not provided by the user side, the platform will generate one by default.
6 - 64Unique ID for the end user, 6–128 characters. Avoid using sensitive information.
6 - 128