You can hit F12 on the webUI to see what is sent and what format and then tailor it to your needs 🙂
Please note that all calls that end with _ex are UI calls, you can use the same endpoint just without the _ex suffix
CostlyOstrich36 so when I login on the web portal and click on a project, I can see the experiments I have done on this project. I would like to get the experiment detail, like status, tag... of those experiements
CostlyOstrich36 thank you, I can connect to the REST api now. I'm trying to get the experiment detail of a project, but I can't find something like that in the docs. Do you have some suggestion?
PunyWoodpecker71 , what do you mean by 'experiment detail of the a project'? Can you give me an example?
https://clear.ml/docs/latest/docs/references/sdk/services_monitor
Then you can run this as a task, see also this example https://clear.ml/docs/latest/docs/guides/services/slack_alerts
ah I see, so the web portal use the same api to get the data
I think you're interested in the Monitor
class:)
PunyWoodpecker71 , regarding the REST API:
The format would be something like this:base_url/endpoint
Where base_url
would be the api_server
as configured in your ~/clearml.conf
and the endpoint is any endpoint you choose from the docs 🙂
Username/password are the access_key
/ secret_key
as also configured in ~/clearml.conf
(You can get it from the UI)
content-type is application/json
And of course it's a POST 🙂