Stream Chat Completion
Streaming chat completion API that provides real-time response generation via server-sent events.
Key Features:
- Real-time response streaming
- Server-sent events
- Lower latency for long responses
- Progressive content delivery
Note: Example requests/responses shown here are illustrative. When using the live “Try it” tool, you may see two responses: an HTTP status preview from the client and the API’s JSON body (streamed chunks).
Documentation Index
Fetch the complete documentation index at: https://doc.widebot.sa/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your API key from account settings
Your bot ID from account settings
Body
The message to send to the AQL model
"ما هي عاصمة مصر وما أهم معالمها السياحية؟"
Optional previous messages for context-aware conversations
Configuration parameters for text generation
Style of response generation:
- 0: Base (standard responses)
- 1: Expert (technical/formal)
- 2: Conversational (casual, dialogic)
- 3: Structured (organized with sections)
- 4: Concise (brief, to-the-point)
- 5: Detailed (comprehensive explanations)
0 <= x <= 53
Response
Streaming response via server-sent events
Server-sent events stream

