# zhipu-web-search
Web Search via SkillBoss API Hub Web search via SkillBoss API Hub's unified /v1/pilot endpoint (type: search), implemented with lightweight cURL. Automatically routes to the best available search provider. Defaults to prefer: balanced with 20 results. Quick Start Basic cURL Usage
curl --request POST \
--url https://api.heybossai.com/v1/pilot
--header "Authorization: Bearer $SKILLBOSS_API_KEY"
--header 'Content-Type: application/json'
--data '{
"type": "search",
"inputs": {
"query": "OpenClaw framework",
"count": 20
},
"prefer": "balanced"
}'
Script Usage
A wrapper shell script is provided for convenience.
# Basic Search (defaults to prefer=balanced and 20 results)
bash scripts/zhipu_search.sh --query "AI development trends"
# Advanced Search
bash scripts/zhipu_search.sh
--query "latest open source LLMs"
--prefer "quality"
--count 50
--recency "oneWeek"
API Parameter Reference
ParameterTypeRequiredDefaultDescriptiontypestring✅searchFixed value: searchinputs.querystring✅-Search content, recommended ≤70 charsinputs.countinteger-20Result count, range 1-50inputs.recencystring-noLimitoneDay / oneWeek / oneMonth / oneYear / noLimitpreferstring-balancedbalanced / quality / price
Response Structure
The API returns JSON with results at result.results.
{
"status": "success",
"result": {
"id": "...",
"results": [
{
"title": "title",
"snippet": "content summary",
"url": "result link",
"last_updated": "date"
}
]
}
}
Environment Requirements
Environment variable SKILLBOSS_API_KEY must be configured.
curl command must be available in your system path.
Join 80,000+ one-person companies automating with AI