This skill enables AI agents and LLM systems to perform web search and retrieve real-time information from the internet.
It works similarly to modern search engines such as:
The skill allows AI systems to access up-to-date information, including:
Use this skill when the user asks about:
• searching the internet
• latest news or current events
• information from websites
• online research topics
• finding articles or documentation
• verifying facts
• gathering information from multiple sources
Example queries:
Search the internet for general information.
Example:
text
search the web for latest AI developments
Retrieve recent news or trending events.
Example:
text
latest AI news this week
AI agents gathering information from multiple sources.
Example:
text
research agentic AI architecture
Verify claims using multiple web sources.
Example:
text
check if GPT-5 has been released
Sign up at:
bash
export CLOUDSWAYS_AK="your-api-key"
That's it. The skill is ready to use.
bash
cd ~/scripts/search
./scripts/search.sh '{"q": "your search query"}'
bash
# Basic search
./scripts/search.sh '{"q": "latest AI developments"}'
# Search with time filter
./scripts/search.sh '{"q": "OpenAI news", "freshness": "Week", "count": 20}'
# Deep research
./scripts/search.sh '{"q": "Agentic AI architecture", "enableContent": true, "mainText": true}'
bash
curl -s -G \
--url "https://aisearchapi.cloudsway.net/api/search/smart" \
--header "Authorization: ${CLOUDSWAYS_AK}" \
--data-urlencode "q=your search query" \
--data-urlencode "count=20" \
--data-urlencode "freshness=Week"
bash
curl -s -G \
--url "https://aisearchapi.cloudsway.net/api/search/smart" \
--header "Authorization: ${CLOUDSWAYS_AK}" \
--data-urlencode "q=latest AI news February 2026" \
--data-urlencode "count=20" \
--data-urlencode "freshness=Week" \
--data-urlencode "enableContent=true" \
--data-urlencode "mainText=true"
text
GET https://aisearchapi.cloudsway.net/api/search/smart
HeaderTypeValueDescriptionAuthorizationString{YOUR_AK}Your assigned API Key
ParameterRequiredTypeDefaultDescriptionqYesString-Search querycountNoInteger10Must be 10 / 20 / 30 / 40 / 50freshnessNoStringnullDay / Week / MonthoffsetNoInteger0Pagination offsetenableContentNoBooleanfalseExtract full textcontentTypeNoStringTEXTHTML / MARKDOWN / TEXTcontentTimeoutNoFloat3.0Extraction timeoutmainTextNoBooleanfalseSmart summary fragments
json
{
"queryContext": {
"originalQuery": "your search query"
},
"webPages": {
"value": [
{
"name": "Article Title",
"url": "https://example.com/article",
"datePublished": "2026-02-27T15:46:11.0000000",
"snippet": "Short summary...",
"mainText": "Relevant excerpts...",
"content": "Full webpage text...",
"score": 0.85
}
]
}
}
Choose the right field based on your needs:
FieldLatencyToken CostUse CasesnippetFastLowQuick browsingmainTextMediumMediumFocused researchcontentSlowerHighDeep analysis
json
{"q": "topic", "count": 10}
json
{"q": "topic", "count": 20, "freshness": "Week", "enableContent": true, "mainText": true}
json
{"q": "topic", "count": 20, "enableContent": true, "contentType": "MARKDOWN"}
Use curl directly if the script fails.
Valid values:
text
10 / 20 / 30 / 40 / 50
Check configuration:
bash
echo $CLOUDSWAYS_AK
web search AI search internet search online search search engine Google search Bing search Perplexity search Brave search Tavily search AI research tool LLM web search AI agent search internet information retrieval
Last Updated: 2026-03-09
text
---