# time of last deploy

**URL:** <https://forums.balena.io/t/time-of-last-deploy/190593>\
**Category:** openBalena\
**Created:** [September 16, 2020, 1:14pm UTC](https://forums.balena.io/t/time-of-last-deploy/190593 "2020-09-16T13:14:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matteopeluso](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@matteopeluso](https://forums.balena.io/u/matteopeluso)\
**Post date:** [September 16, 2020, 1:14pm UTC](https://forums.balena.io/t/time-of-last-deploy/190593/1 "2020-09-16T13:14:21Z")

</div>

Hi

is there a way to know the last time a balena app has been deployed with the balena cli?  
thanks

Matteo

---

<div class="post-metadata">

**Author:** ![gelbal](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/gelbal/32/1109_2.png) [@gelbal](https://forums.balena.io/u/gelbal)\
**Post date:** [September 16, 2020, 1:43pm UTC](https://forums.balena.io/t/time-of-last-deploy/190593/4 "2020-09-16T13:43:25Z")

</div>

Hi @matteopeluso, could you please clarify the question? Would you like to know the last time you made a new release to an app? Or is it more about identifying the last time you provisioned a new device running a specific app?

You could find the answers to either of these questions by querying balena API:

> **[Resources - Balena Documentation](https://www.balena.io/docs/reference/api/resources/application/)**

First you’d find the `commit` hash that a device or application is running. Then you could query the `release` end point with this `commit` value to get `created_at` timestamp. Does this help?

If you’d like balena CLI to support such use case, we could raise it [on the repo](https://github.com/balena-io/balena-cli/) as a feature request.

---

<div class="post-metadata">

**Author:** ![matteopeluso](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@matteopeluso](https://forums.balena.io/u/matteopeluso)\
**Post date:** [September 16, 2020, 1:47pm UTC](https://forums.balena.io/t/time-of-last-deploy/190593/6 "2020-09-16T13:47:27Z")

</div>

Hi

I wanted to know the last time I made a new release to an app but both sound useful thanks for the answer and the resources!  
Matteo

---

<div class="post-metadata">

**Author:** ![gelbal](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/gelbal/32/1109_2.png) [@gelbal](https://forums.balena.io/u/gelbal)\
**Post date:** [September 16, 2020, 1:51pm UTC](https://forums.balena.io/t/time-of-last-deploy/190593/8 "2020-09-16T13:51:57Z")

</div>

Nice to hear this helps Matteo : )
