Missing Statement Field in Query History for API-Executed Queries in Hue

I’ve encountered an odd behavior with Hue and was hoping someone could help clarify. When executing queries through the Hue GUI, everything works as expected, and I can retrieve the query history via the API, including the statement field. However, when I initiate queries directly through the API, the statement field seems to be missing from the query history data returned by the get_history API. Am I overlooking something, or is there a specific reason for this discrepancy? Any insights would be greatly appreciated.