We currently do not support calling this API from a frontend web application (from a browser). You would need to make the call from a backend application.
The goal is to show all the models as a list to the user on browser.The idea from there is to render the model from the data obtained in the platform api response using Viewer API.
Yes we are implementing a full stack application. I have tried getting the models from backend and got the models in the response. But those were different from the models in our library. They were random models. Is it because of the client id ? If it is because of the client id can you please guide on where to find the client id?
Probably you were not filtering the models by your user_id and therefore also saw public models. In order to determine how to choose the request body, you can use the browser developer tools and observe some model query requests when using the platform.