Skip to content

Cloudsway Smart Search API

Cloudsway provides intelligent search capabilities with advanced filtering and content extraction features.

POST https://llm.siraya.ai/v1/cloudsway

Body

model string Required
Use `cloudsway-smart-search`.
q string Required
The search query.
count integer
Number of results (default: 10, range: 10-50).
freshness string
`Day`, `Week`, or `Month`.
enableContent boolean
Whether to extract content from the search results.
curl https://llm.siraya.ai/v1/cloudsway \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <API_KEY>" \
  -d '{
    "model": "cloudsway-smart-search",
    "q": "Upcoming tech conferences in 2024",
    "freshness": "Month"
  }'
import requests

url = "https://llm.siraya.ai/v1/cloudsway"
headers = {"Authorization": "Bearer <API_KEY>"}
data = {
    "model": "cloudsway-smart-search",
    "q": "Upcoming tech conferences in 2024"
}

response = requests.post(url, headers=headers, json=data)
print(response.json())