POST /paas/v4/web_search
Changed onThe 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.).
Request
- Base URLhttps://api.z.ai/api
- URLhttps://api.z.ai/api/paas/v4/web_search
- AuthHTTP bearer
Headers
Accept-Language'en-US,en'
Config desired response language for HTTP requests.
Example:en-US,en
Request body
Example request
{
"search_engine": "search-prime"
}Response
Processing successful
Changes
- breaking
the
request property's minLength was increased from0to6 - breaking
the
request property's minLength was increased from0to6 - warning
the
request property's maxLength was set to64 - warning
the
request property's maxLength was set to128
- breaking