Running analytics from API

I have a question concerning the analytics. I would like to be able to periodically run the analytics using the API.
As far as I understood there are two ways to do that. I could schedule a job of type “ANALYTICS_TABLE”, or, I can send a POST request to the endpoint “/api/resourceTables/analytics”. Is there a preferable way between the two? In the documentation I read that the second one should be more an admin action, and not something a “normal” user should do, while I did not find any note of this type in the scheduling section.

Thank you for your help,

Best Regards,

1 Like

@Emma_Kassy - could you please assist with this? thank you.