Hello PS,
Thanks for your question.
Azure Container Apps doesn't currently offer functionality identical to ECS-Fargate', that provides details about individual containers within an application.
Yes, you are correct the recommended method to do this by using the Rest API as you provided in your question.
An alternative Option can be container Application logging: See: https://learn.microsoft.com/en-us/azure/container-apps/logging
Please let me know if you have further questions
You can mark it 'Accept Answer' if this helped.