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, Is It Possible To Upload Artifacts Using The Rest Api? It Seems Like

Hello,

Is it possible to upload artifacts using the REST API? It seems like None only lets you set metadata but not the actual content of the artifacts?

  
  
Posted 2 months ago
Votes Newest

Answers 5


Thanks, I know it can be done with the SDK. I was hoping there was also a way to upload through the REST API as I'm trying to do it from a non-python app.

  
  
Posted 2 months ago

Hi @<1747066118549278720:profile|WhoppingToad71> , can you share the use case? You want to upload the file to some storage? Or upload to a task?

  
  
Posted 2 months ago

With the API you can register an artifact to a task, but the upload will be done separately with the ClearML sdk (the sdk wrap the registration and upload, with some other things inside the upload_artifact function).

  
  
Posted 2 months ago

I want to upload an image that will be used from a task, so I was thinking uploading it to a task and then retrieving it as an artifact from other tasks would work, unless there's a better way

  
  
Posted 2 months ago

Can I suggest using the sdk? It will do both, log it to the task and will upload it to any storage wanted, like in this example

  
  
Posted 2 months ago
92 Views
5 Answers
2 months ago
2 months ago
Tags
Similar posts