curl --request POST \
--url https://api.example.com/api/ai/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messages": [
"<string>"
]
}
'Send messages to an AI assistant and receive a streaming response for interactive conversations.
curl --request POST \
--url https://api.example.com/api/ai/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messages": [
"<string>"
]
}
'Was this page helpful?