Command goliothctl dfu release not working

Description

Hello everyone,

I am currently trying to set up and test Golioth backend and trying to create a release using the API.
I am able to get project list or device list and even able to use artefact create to upload a new binary, but for some reason whenever I use goliothctl dfu release command either with create or list, I always get this error:
:rpc error: code = NotFound desc = not found

I do already have a release created manually through the web console just FYI.

I am using goliothctl version 1.6.0

Thanks a lot!

Steps to Reproduce

goliothctl dfu release list

Expected Behavior

Positive response

Actual Behavior

2025/07/29 11:12:43 failed to fetch release list :rpc error: code = NotFound desc = not found

Environment

Ubuntu or even web API tool

Logs and Console Output

2025/07/29 11:12:43 failed to fetch release list :rpc error: code = NotFound desc = not found

Hey @andrei.costea,

I’m guessing that when you say “create a release,” you actually mean “create a Deployment.” The reason I ask is that we’ve moved from our old Releases workflow to the new Cohorts workflow.

The goliothctl dfu release command is part of that older workflow, and in the Cohorts workflow, it isn’t yet possible to create Deployments via the CLI. Instead, you can automate OTA updates by using our REST API, specifically, the Artifacts, Cohorts, and Deployments endpoints. Feel free to try them out with our OpenAPI docs.

Hey there @marko,

Yes I meant creating a deployment, I was using the help file from the fw_update example which is probably outdated.
Good to know that CLI is not supporting this yet but as long as the API is able do to the job that’s fine for me.

Thanks a lot for the quick reply!
Have a good one,
Andrei