curl --request POST \
--url "https://api.aisa.one/apis/v1/perplexity/sonar" \
--header "Authorization: Bearer YOUR_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "sonar",
"messages": [
{
"role": "user",
"content": "What are the latest developments in quantum computing?"
}
],
"max_tokens": 800,
"temperature": 0.2,
"top_p": 0.9,
"search_context": "medium",
"return_citations": true,
"search_recency_filter": "month",
"search_domain_filter": [
"nature.com",
"quantamagazine.org"
]
}'