Watts
GET
2 endpoints
/api/v202510/energymanager/chat/{chatId}/message
GetUserChatMessagesV202510
Retrieves all Watts chat messages for a given chat ID. Chat needs to be active (not deleted) and belong to the user making the request.
It requires the 'VirtualEnergyManager' feature flag to be enabled for the user.
/api/v202510/energymanager/chat
GetUserChatsV202510
Retrieves all Watts chats created by the user making the request. It filters out inactive/deleted chats.
It requires the 'VirtualEnergyManager' feature flag to be enabled for the user.
POST
2 endpoints
/api/v202510/energymanager/chat
CreateChatV202510
Create a Watts chat for the user making the request.
It requires the 'VirtualEnergyManager' feature flag to be enabled for the user.
/api/v202510/energymanager/chat/{chatId}/message
CreateMessageV202510
Creates a new message in the specified chat and streams the LLM response to the client as NDJSON.
Since chat history is persisted, it manages response ID internally.
It requires the 'VirtualEnergyManager' feature flag to be enabled for the user.