> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dari.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stream Chat Completions

> Stream routed output over Server-Sent Events.

Set `stream: true`:

```bash theme={null}
curl https://routing.dari.dev/v1/chat/completions \
  -H "Authorization: Bearer $DARI_ROUTING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dari/routing",
    "stream": true,
    "messages": [{"role": "user", "content": "Hello from Dari"}]
  }'
```

The first event includes `dari_routing`. Content deltas follow the OpenAI Chat Completions stream format and end with `data: [DONE]`.
