Creates a new message in the specified chat and streams the response to the client. Since chat history is persisted, it manages response ID internally. It requires the 'VirtualEnergyManager' feature flag to be enabled for the user.
This method processes the user’s message asynchronously and streams the response
directly to the client. The response is sent as plain text with no caching, and the connection is kept alive
during the streaming process.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| chatId | The identifier of the chat where the message will be created. | integer (int32) | Required |
Request Body
VemChatMessageCreateV202510
| Property | Description | Type |
|---|---|---|
| content | VEM chat message content Required | string |
Example Request Body
{ "content": "string"
}
Responses
200
OK
The request succeeded and the response body contains the requested data.