Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello All, After I Run Training Task And Output Model To S3, Is There A Way For Clearml Server To Send Out Notification Of Some Sort To Trigger Our Continuous Deploy Process? I'M Thinking When I Assign A Certain Tag To The Experiment Result, It Could Send

Hello all,
After I run training task and output model to S3, is there a way for clearml server to send out notification of some sort to trigger our continuous deploy process? I'm thinking when I assign a certain tag to the experiment result, it could send some notification, or if I can query the clearml server through http request to check status of experiment result. That would be great!
I'm reading the REST API ref but I don't really understand https://clear.ml/docs/latest/docs/references/api/index . It's not like the usual REST API ref that I'm usually working with. Like where do I get the API url? How to authenticate? What is the format of the request? Like for the login api https://clear.ml/docs/latest/docs/references/api/login , the schema for Body is "object"??
Thanks

  
  
Posted 2 years ago
Votes Newest

Answers 9


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 🙂

  
  
Posted 2 years ago

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

  
  
Posted 2 years ago

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?

  
  
Posted 2 years ago

PunyWoodpecker71 , what do you mean by 'experiment detail of the a project'? Can you give me an example?

  
  
Posted 2 years ago

ah I see, so the web portal use the same api to get the data

  
  
Posted 2 years ago

I think you're interested in the Monitor class:)

  
  
Posted 2 years ago

thank you, I'll check it out 🙇

  
  
Posted 2 years ago

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

  
  
Posted 2 years ago
616 Views
9 Answers
2 years ago
one year ago
Tags