# Connected disconnected status

**URL:** https://forums.losant.com/t/connected-disconnected-status/3584
**Category:** Help
**Tags:** dashboard
**Created:** [February 10, 2021, 5:01pm UTC](https://forums.losant.com/t/connected-disconnected-status/3584 "2021-02-10T17:01:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)
#### Post date: [February 10, 2021, 5:01pm UTC](https://forums.losant.com/t/connected-disconnected-status/3584/1 "2021-02-10T17:01:53Z")

</div>

In the device list, there is the icon showing green if it’s been connected within a certain timeframe.  
Is that a status flag that I should be able to to query?  
If so, what is it?

---

<div class="post-metadata">

### Author: ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)
#### Post date: [February 10, 2021, 6:11pm UTC](https://forums.losant.com/t/connected-disconnected-status/3584/3 "2021-02-10T18:11:09Z")

</div>

@Lars_Andersson,

> Is that a status flag that I should be able to to query?

Not right now. But we are working on this as we speak! I’ll be sure to let you know when this rolls out.

Thank you,  
Heath

---

<div class="post-metadata">

### Author: ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)
#### Post date: [February 10, 2021, 6:18pm UTC](https://forums.losant.com/t/connected-disconnected-status/3584/5 "2021-02-10T18:18:41Z")

</div>

I noticed there was an option in the “Devices-GET” node to check the box to “Include connection status”.  
Is that the same?

---

<div class="post-metadata">

### Author: ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)
#### Post date: [February 10, 2021, 8:10pm UTC](https://forums.losant.com/t/connected-disconnected-status/3584/7 "2021-02-10T20:10:39Z")

</div>

@Lars_Andersson,

Are you referencing the [Device: Get Node](https://docs.losant.com/workflows/data/get-device/) or the [Losant API Node](https://docs.losant.com/workflows/data/losant-api/) with the `Devices: Get` action?

In the Device: Get node, if you check the box to include connection status the response will include a `connectionInfo` object that will include a `connectionStatus` (either 0 for not connected or 1 for connected) and a timestamp for when the last time that device connected.

Would you be able to tell more about what you’re hoping to accomplish? Are you looking to query devices by connection status or to query a device and see if it is connected? Something else?

Thank you,  
Heath

---

<div class="post-metadata">

### Author: ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)
#### Post date: [February 10, 2021, 8:25pm UTC](https://forums.losant.com/t/connected-disconnected-status/3584/8 "2021-02-10T20:25:45Z")

</div>

I was referring to the Device: Get Node, but I ended up using the API Node as you described.

I was just looking for the easiest way to generate a list of currently connected devices only.

Would be nice if there was an easy way to see that for all applications in one shot, but I guess I can loop through each app, unless there is another way.

---

<div class="post-metadata">

### Author: ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)
#### Post date: [March 31, 2021, 6:34pm UTC](https://forums.losant.com/t/connected-disconnected-status/3584/10 "2021-03-31T18:34:25Z")

</div>

@Lars_Andersson,

We just rolled out being able to query devices by connection status in our most recent [Platform Update](https://www.losant.com/blog/platform-update-parallel-loops-scheduled-workflow-runs-instance-manager-apis)!

Let us know if you run into any other issues.

Thank you,  
Heath
