Skip to content

Cloudsway Smart Search API

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

Endpoint

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

Request Parameters

Parameter Type Required Description
model string Yes Use cloudsway-smart-search.
q string Yes The search query.
count integer No Number of results (default: 10, range: 10-50).
freshness string No Day, Week, or Month.
enableContent boolean No Whether to extract content from the search results.

Example Request

curl https://llm.siraya.pro/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.pro/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())

Response

Returns a JSON object containing the search results and status metrics.