Retrieving sweep id when starting sweep from CL

I start a sweep from the command line (wandb sweep config.yaml). The sweep ID is now displayed (wandb: Created sweep with ID: 6bb3459a), but I would like to get it programatically, such that I can later start agents automatically without copy-pasting the ID.

Is there a way to achieve this?


Hi @bask0 , we currently do not have the equivalent of api.sweeps() built into our API. This is being integrated for future releases. At this time, specific sweeps functionality via the API can be found here. I attached your inquiry to our feature request system. Once it’s been implemented we will let you know.

1 Like

Thanks @mohammadbakir ! For those looking for a temporary solution: for now, I direct the output to a file and grab the ID from there.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.