API page - return message

Is there a way of passing return message and status back when ApiDataPge is called? I need that to have some better response when calling API from outside.

Data page API returns data. What kind of message would you expect?

I would expect status messages such as 200 OK or 400 Bad reques + some return message etc. It would give us much more variability while building rest APIs.