GET /api/v202510/energymanager/chat/{chatId}/usage

Retrieves the token usage for one chat

GetChatUsageV202510
Use this endpoint to show or audit what a conversation has cost. Usage is recorded per assistant turn; this returns the total across the whole chat. The chat must be active and owned by the authenticated user. Requires the VirtualEnergyManager feature flag.

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.

Path Parameters

Name Description Type Required
chatId Unique numeric identifier of the chat integer (int32) Required

Responses

200 OK The request succeeded and the response body contains the requested data.

Response Body Parameters

WattsChatResponseV202510
Property Description Type
createdDate Date/time offset representing when Watts chat was created string (date-time)
totalTokens Tokens this conversation has cost in total, across every assistant turn. integer (int32)
wattsChatId The identifier for the Watts chat integer (int32)
wattsChatInfo Watts chat name / chat title string
Example Response application/json
{  "createdDate": "2026-10-09",  "totalTokens": 1,  "wattsChatId": 1,  "wattsChatInfo": "string"
}
404 Not Found The requested resource was not found. Verify the ID or path is correct.