cURL
curl --request POST \ --url https://api.llmlayer.dev/api/v1/search_stream \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "<string>", "model": "<string>", "location": "us", "system_prompt": "<string>", "response_language": "auto", "answer_type": "markdown", "search_type": "general", "json_schema": "<string>", "citations": false, "return_sources": false, "return_images": false, "date_filter": "anytime", "max_tokens": 1500, "temperature": 0.7, "domain_filter": [ "<string>" ], "max_queries": 1, "provider_key": "<string>" }'
"<string>"
Stream search results in real-time using Server-Sent Events
Bearer token authentication. Use format: Bearer llm_xxxxxxxxxxxxx
Successful response
Server-Sent Events stream