# trying to identify current installed release

**URL:** <https://forums.balena.io/t/trying-to-identify-current-installed-release/367420>\
**Category:** General\
**Created:** [April 3, 2023, 4:31pm UTC](https://forums.balena.io/t/trying-to-identify-current-installed-release/367420 "2023-04-03T16:31:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Beeby](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@Peter\_Beeby](https://forums.balena.io/u/Peter_Beeby)\
**Post date:** [April 3, 2023, 4:31pm UTC](https://forums.balena.io/t/trying-to-identify-current-installed-release/367420/1 "2023-04-03T16:31:52Z")

</div>

I would like to display the currently installed relase on the balena device UI but I’m having issues identifying it.

I can get the guid from either:  
curl “$BALENA\_SUPERVISOR\_ADDRESS/v2/applications/state?apikey=$BALENA\_SUPERVISOR\_API\_KEY”

or

curl “$BALENA\_SUPERVISOR\_ADDRESS/v2/state/status?apikey=$BALENA\_SUPERVISOR\_API\_KEY”

but I cant translate this to match the displayed current version in the balena web ui.

I appreciate the web ui displays the guid if i mouse over/ look into the releases

but I can’t see how to get that from within the container.

Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![myarmolinsky](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@myarmolinsky](https://forums.balena.io/u/myarmolinsky)\
**Post date:** [April 14, 2023, 4:47pm UTC](https://forums.balena.io/t/trying-to-identify-current-installed-release/367420/2 "2023-04-14T16:47:30Z")

</div>

Hi, I’ve reached out to some Supervisor dev colleagues with regards to returning the semver displaying in the UI with the commit where possible in the Supervisor. I’ve raised a github issue here: [Should return release `raw_version` where possible if returning `commit` · Issue #2159 · balena-os/balena-supervisor · GitHub](https://github.com/balena-os/balena-supervisor/issues/2159)

However, it would probably be better to try to get info about the release by using the API. You should be able to achieve that by running something like the following command, where the property you want if you are referring to the one displaying on the dashboard is `raw_version`:

```auto
curl -X GET "https://api.balena-staging.com/v6/device(uuid=<DEVICE_UUID>)?$select=id&$expand=is_running__release($select=raw_version)" -H "Content-Type: application/json" -H "Authorization: Bearer <AUTH_TOKEN>"

```

---

<div class="post-metadata">

**Author:** ![myarmolinsky](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@myarmolinsky](https://forums.balena.io/u/myarmolinsky)\
**Post date:** [May 1, 2023, 2:02pm UTC](https://forums.balena.io/t/trying-to-identify-current-installed-release/367420/4 "2023-05-01T14:02:29Z")

</div>

Hi, just following up, did the suggestion I provided above help you in identifying the running release from inside a container?

---

<div class="post-metadata">

**Author:** ![Peter\_Beeby](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@Peter\_Beeby](https://forums.balena.io/u/Peter_Beeby)\
**Post date:** [May 2, 2023, 3:29pm UTC](https://forums.balena.io/t/trying-to-identify-current-installed-release/367420/6 "2023-05-02T15:29:34Z")

</div>

Thanks for following up, ye I managed to use your suggestion to get the versoin number.

---

<div class="post-metadata">

**Author:** ![myarmolinsky](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@myarmolinsky](https://forums.balena.io/u/myarmolinsky)\
**Post date:** [May 2, 2023, 6:55pm UTC](https://forums.balena.io/t/trying-to-identify-current-installed-release/367420/7 "2023-05-02T18:55:10Z")

</div>

Awesome, glad to hear it 🙂
