I guess you tried the template in the template debugger and it also returns an empty list, right?
Could you show an actual screenshot of your kitchen area in HA, please.
Fair enough, but if it works in the debugger, it must work through api as well. It’s exactly the same call, just made through the api rather than the UI.
The only reason I can see is that you are not actually talking to the proper HA. Do you have multiple instances?
I have one instance but it’s all good, it actually works in PostMan. I’m still curious why it wouldn’t work with curl but at least I’m not blocked anymore.