Watts
GET
3 endpoints
/api/v202605/energymanager/userprompt
GenerateUserPromptV202605
Generates user prompt suggestions for Watts from input text.
It requires the 'VirtualEnergyManager' feature flag to be enabled for the user.
/api/v202510/energymanager/chat/{chatId}/message
GetUserChatMessagesV202510
Retrieves all messages in a Watts chat session
/api/v202510/energymanager/chat
GetUserChatsV202510
Retrieves all active Watts chats for the authenticated user
POST
2 endpoints
/api/v202510/energymanager/chat
CreateChatV202510
Creates a new Watts chat session for the authenticated 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.