curl --request POST \
--url https://api.yourapp.com/api/ai/stream-chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"chatId": "chat_123",
"messages": [
{
"role": "user",
"content": "Tell me about AI"
}
],
"model": "gpt-4o",
"system": "You are a helpful AI assistant."
}'