# Gateway Status API

**URL:** <https://forum.inductiveautomation.com/t/gateway-status-api/38986>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 23, 2020, 5:22pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986 "2020-09-23T17:22:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [September 23, 2020, 5:22pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/1 "2020-09-23T17:22:39Z")

</div>

I know there is an api that you can call on a gateway that returns information about its current status, like if it’s starting, etc.

I have been racking my brain trying to find where it’s documented and can’t find the url anywhere!

If anyone knows where the endpoint is that would be fantastic

Thanks,  
Keith

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 23, 2020, 5:25pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/2 "2020-09-23T17:25:24Z")

</div>

`/StatusPing` (case sensitive…) is what commissioning uses.  
`/system/gwinfo` returns more general info.

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [September 23, 2020, 5:39pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/3 "2020-09-23T17:39:20Z")

</div>

Awesome thanks Paul! Is this somewhere In the documentation and I’m just blind?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 23, 2020, 6:09pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/4 "2020-09-23T18:09:01Z")

</div>

Probably not. I’d consider it an ‘implementation detail’ - technically subject to change from any Ignition version to the next. In practice, that’s pretty unlikely (`gwinfo` in particular is used by the launchers, I’m pretty sure), but still possible.

---

<div class="post-metadata">

**Author:** ![Greg\_Campion](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg_campion/32/62327_2.png) [@Greg\_Campion](https://forum.inductiveautomation.com/u/Greg_Campion)\
**Post date:** [May 14, 2024, 7:55pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/5 "2024-05-14T19:55:14Z")

</div>

Is there by chance something like this for finding module's statuses as well? This gwinfo data is very helpful but I'd also need module status for some third party modules that are running.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 14, 2024, 9:55pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/6 "2024-05-14T21:55:12Z")

</div>

Hmm, the info you want is probably available at [http://localhost:8088/data/status/modules](http://localhost:8088/data/status/modules), but it requires authentication that will probably be a blocker.

If you have the WebDev module you could probably build an endpoint that doesn't require auth.

Module status doesn't change after startup, it either starts and goes into LOADED or RUNNING state, or it doesn't.

---

<div class="post-metadata">

**Author:** ![Greg\_Campion](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg_campion/32/62327_2.png) [@Greg\_Campion](https://forum.inductiveautomation.com/u/Greg_Campion)\
**Post date:** [May 16, 2024, 6:14pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/7 "2024-05-16T18:14:34Z")

</div>

Thanks so much for the help here Kevin!

Is there any documentation or tips you could give me on how to deal with that authentication instead of going the WebDev route?

Also to the later point, is that also true for modules that are from other companies? As in, the gateway won't show a different status if the module does go down?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 16, 2024, 6:18pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/8 "2024-05-16T18:18:13Z")

</div>

Authentication is not documented and if I recall it's really difficult to do progamatically because it was never meant for that. There's something about needing to manually obtain a session cookie or something... you'd have to figure it out on your own. Search the forum for "jsessionid".

> [@Greg\_Campion](#):
>
> Also to the later point, is that also true for modules that are from other companies? As in, the gateway won't show a different status if the module does go down?

Modules don't "go down". They start or don't start, and the state is represented by an enum of the following:

```python
    NEW,
    LOADED,
    RUNNING,
    FAULTED,
    STOPPED;

```

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 16, 2024, 6:19pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/9 "2024-05-16T18:19:43Z")

</div>

> [@Kevin.Herron](#):
>
> They start or don't start

Unless told to restart. Or replaced with a new version. Or uninstalled. Or new ones added.

{v8.3 isn't out yet....}

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 16, 2024, 6:20pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/10 "2024-05-16T18:20:40Z")

</div>

My point is that once a module starts, there is no failure that can occur to change its status.

But yes, it could be removed or restarted.

---

<div class="post-metadata">

**Author:** ![Greg\_Campion](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg_campion/32/62327_2.png) [@Greg\_Campion](https://forum.inductiveautomation.com/u/Greg_Campion)\
**Post date:** [May 16, 2024, 6:45pm UTC](https://forum.inductiveautomation.com/t/gateway-status-api/38986/11 "2024-05-16T18:45:29Z")

</div>

I really appreciate the help here, thanks again and it looks like I have some threads I can pull on. I'll post here with anything I find out 🙂
