---
updatedAt: 2025-09-17T00:08:03.000Z
agentTools:
  projectIndex: https://docs.api.everactive.com/llms.txt
---

# get gateways

Retrieve a list of gateways in your installation.

# OpenAPI definition

````json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Everactive Data Service API",
    "version": "v1",
    "description": "This API provides access to administrative operations for configuring, monitoring, and maintaining\n\nthe gateways and sensors that make up an Everactive installation, \n\nand for managing the software that detects and responds to events reported by sensors.",
    "contact": {
      "url": "https://everactive.com",
      "email": "success@everactive.com",
      "name": "Everactive"
    },
    "x-logo": {
      "url": "https://everactive.com/content/themes/storyware/assets/svg/logo.svg",
      "backgroundColor": "#0d0d3d",
      "altText": "Everactive"
    }
  },
  "servers": [
    {
      "url": "https://api.data.everactive.com/ds/v1",
      "description": "Everactive Data Service v1 API."
    }
  ],
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "description": "The Everactive internal API uses OAuth2 to authenticate and generate a Bearer token to authorize API endpoints. \nExternal clients must use the client_credentials flow to authenticate. The expectation is the client_secret \nvalue is protected at all times. It must not be used in a mobile application or web application\nas it is not possible to protect the secret in these types of applications.\n\nExample client_credentials grant_type request body:\n```json\n{\n  \"client_id\": \"the_client_id\",\n  \"client_secret\": \"the_client_secret\",\n  \"grant_type\": \"client_credentials\"\n}\n```",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://api.data.everactive.com/auth/token",
            "scopes": {
              "super-admin": "full access to all API endpoints",
              "integration-partner": "access to all public API endpoints",
              "customer-admin": "full access to API endpoints related to the customer the client belongs to",
              "user": "limited access to endpoints related to the customer the client belongs to"
            },
            "x-everactive-public": true
          }
        }
      }
    },
    "parameters": {
      "PageParam": {
        "name": "page",
        "in": "query",
        "description": "A one-based index for the first page number to return from a paginated call.",
        "required": true,
        "schema": {
          "type": "integer",
          "format": "int32",
          "minimum": 1,
          "default": 1,
          "example": 1
        }
      },
      "PageSizeParam": {
        "name": "page-size",
        "in": "query",
        "description": "The maximum number of items to return per page.",
        "required": false,
        "schema": {
          "type": "integer",
          "format": "int32",
          "minimum": 1,
          "default": 50,
          "example": 25
        }
      },
      "SortDirParam": {
        "name": "sort-dir",
        "in": "query",
        "description": "The direction to sort the list of results, ascending or descending.",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "example": "asc"
        }
      }
    },
    "responses": {
      "401Unauthorized": {
        "description": "The request did not include the correct authorization or the included authorization has expired."
      },
      "403Forbidden": {
        "description": "The requested resource is not accessible to the currently authenticated client."
      },
      "GatewayListResponse": {
        "description": "A list of gateways.",
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Gateway"
                  }
                },
                "paginationInfo": {
                  "$ref": "#/components/schemas/PaginationInfo"
                }
              },
              "type": "object"
            }
          }
        }
      }
    },
    "schemas": {
      "CustomerMinimal": {
        "readOnly": true,
        "title": "CustomerMinimal",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique id of the customer.",
            "example": "54c32003-0d20-4c41-a8a5-3d24e4997975"
          },
          "enabledProducts": {
            "title": "CustomerProducts",
            "type": "object",
            "properties": {
              "dataServices": {
                "type": "boolean",
                "example": true
              },
              "flareSystemMonitor": {
                "type": "boolean",
                "example": false
              },
              "machineHealthMonitor": {
                "type": "boolean",
                "example": true
              },
              "steamTrapMonitor": {
                "type": "boolean",
                "example": true
              }
            },
            "required": [
              "dataServices",
              "flareSystemMonitor",
              "machineHealthMonitor",
              "steamTrapMonitor"
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the customer.",
            "example": "Example Inc."
          },
          "status": {
            "type": "string",
            "enum": [
              "Decommissioned",
              "Demo",
              "Production",
              "To Be Installed"
            ],
            "description": "The status of the customer",
            "example": "Production"
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "Gateway": {
        "title": "Evergateway",
        "type": "object",
        "description": "An Everactive gateway.",
        "properties": {
          "authorized": {
            "description": "If set to true this indicated gateway is installed.",
            "type": "boolean",
            "example": false
          },
          "brokers": {
            "description": "The list of brokers the gateway is assigned to communicate through.\nThis value is designated by the customer that the gateway is assigned\nto.",
            "items": {
              "title": "MqttBroker",
              "type": "object",
              "description": "A broker that communicates with gateways.",
              "properties": {
                "brokerType": {
                  "description": "Indicates the type of information transmitted via the broker, either config or data.",
                  "type": "string",
                  "enum": [
                    "config",
                    "data"
                  ],
                  "default": "data",
                  "example": "data"
                },
                "customer": {
                  "$ref": "#/components/schemas/v202007CustomerMinimal"
                },
                "customerId": {
                  "type": "string",
                  "description": "The UUID of the customer the broker is assigned to.",
                  "example": "0d236022-e05e-4775-8572-eae99bf9ef42",
                  "writeOnly": true
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The mqtt broker id.",
                  "example": "0d236022-e05e-4775-8572-eae99bf9ef42",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "description": "The name of the mqtt broker",
                  "example": "ingest5"
                }
              },
              "required": [
                "brokerType",
                "id",
                "name"
              ]
            },
            "type": "array"
          },
          "canSupportEvernet2": {
            "description": "True if the gateway is able to support evernet 2. \nSupport is based on whether the required hardware is present\non the gateway.",
            "type": "boolean",
            "example": true
          },
          "configSchema": {
            "description": "This value contains the config schema last seen for each gateway,\nwhich allows the API to know if it should respond on v1, v2 or v3 topics.",
            "type": "string",
            "readOnly": true,
            "example": "gateway_config_request_v3.schema.json"
          },
          "createdTimestamp": {
            "description": "The unix timestamp (seconds from 1970-01-01T00:00:00Z) when the gateway was created.",
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "example": 1670359125
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerMinimal"
          },
          "deploymentStatus": {
            "$ref": "#/components/schemas/GatewayDeploymentStatus"
          },
          "enableSSH": {
            "description": "Indicates if SSH is enabled on the gateway.",
            "type": "boolean",
            "example": false
          },
          "enableWakeup": {
            "description": "Indicates if the Evergateway will ask Eversensors \nto turn on and send data. If disabled, no data will be captured.",
            "type": "boolean",
            "example": true
          },
          "evernet1Settings": {
            "$ref": "#/components/schemas/GatewayEvernet1Settings"
          },
          "evernet2Settings": {
            "$ref": "#/components/schemas/GatewayEvernet2Settings"
          },
          "flavor": {
            "description": "An enumeration to indicate if the gateway is a production or vitual gateway.",
            "type": "string",
            "enum": [
              "production",
              "virtual"
            ],
            "default": "production",
            "example": "production",
            "readOnly": true
          },
          "id": {
            "description": "The Everactive Gateway ID",
            "type": "string",
            "format": "uuid",
            "example": "bcf992bf-bb5e-410d-bd9e-a25c2f563ca4"
          },
          "installNotes": {
            "description": "Notes about the Evergateway installation.",
            "type": "string",
            "example": "Will require a lift to reach."
          },
          "lastReading": {
            "$ref": "#/components/schemas/GatewayReading"
          },
          "lastStatus": {
            "$ref": "#/components/schemas/GatewayStatusSummary"
          },
          "lastDailyStatus": {
            "$ref": "#/components/schemas/GatewayStatusSummary"
          },
          "location": {
            "description": "The location of the Evergateway.",
            "type": "string",
            "example": "2nd floor mezzanine"
          },
          "name": {
            "description": "The name of the gateway. Typically set to the serial number.",
            "type": "string",
            "example": "3AG32B5"
          },
          "profileImage": {
            "title": "File Minimal",
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The unique ID of the file.",
                "example": "bc2eaf87-9c26-4096-9636-5509122ea59c",
                "readOnly": true
              },
              "fileName": {
                "type": "string",
                "description": "The name of the file, including extension.",
                "example": "SteamTrap.jpg"
              },
              "mediaType": {
                "type": "string",
                "description": "The media/MIME type of the file.",
                "example": "image/jpeg"
              },
              "fileSize": {
                "type": "number",
                "description": "The size of the file, in bytes.",
                "example": 8675309,
                "readOnly": true
              },
              "caption": {
                "type": "string",
                "description": "A user-facing description for the file."
              },
              "downloadUri": {
                "type": "string",
                "description": "The URI that clients can use to download the file.",
                "example": "https://files.data.everactive.com/files/bc2eaf87-9c26-4096-9636-5509122ea59c",
                "readOnly": true
              },
              "thumbnailDownloadUri": {
                "type": "string",
                "description": "The URI that clients can use to generate/download thumbnails for the file.",
                "example": "https://files.data.everactive.com/thumbnails/bc2eaf87-9c26-4096-9636-5509122ea59c",
                "readOnly": true
              }
            },
            "required": [
              "id",
              "fileName",
              "mediaType",
              "fileSize"
            ]
          },
          "serialNumber": {
            "description": "The serial number of the Evergateway.",
            "type": "string",
            "example": "3AG32B5"
          },
          "softwareVersion": {
            "description": "The gateway software version as reported by the gateway.",
            "type": "string",
            "readOnly": true,
            "example": "2.0.1"
          },
          "status": {
            "description": "The Connectivity status of the Evergateway.",
            "type": "string",
            "example": "Good"
          },
          "vmDownloadAvailable": {
            "description": "Indicates if the virtual machine image is available for download. This property\nonly applies if the `flavor` property is **virtual**.",
            "type": "boolean",
            "example": false,
            "default": false,
            "readOnly": true
          },
          "vmDownloadSize": {
            "description": "The size of the virtual machine image in bytes.",
            "type": "integer",
            "format": "int64",
            "example": 1123334235,
            "readOnly": true
          },
          "vmWasDownloaded": {
            "description": "Indicates if a virtual machine image has already been downloaded. This property\nonly applies if the `flavor` property is **virtual**.",
            "type": "boolean",
            "example": true,
            "default": false,
            "readOnly": true
          }
        },
        "required": [
          "autoAuthorizeExistingSensors",
          "canSupportEvernet2",
          "customer",
          "enableSSH",
          "enableWakeup",
          "flavor",
          "id",
          "serialNumber"
        ]
      },
      "GatewayEvernet1Settings": {
        "title": "GatewayEvernet1Settings",
        "description": "Gateway settings to support Evernet1 sensors.",
        "type": "object",
        "properties": {
          "enabled": {
            "description": "Flag indicates whether or not Evernet 1.0 protocol is enabled",
            "type": "boolean",
            "example": true
          },
          "syncTime": {
            "description": "The offset from epoch time the Evergateway uses to start \nthe wake-up process to communicate with Eversensors.\n\nSeconds",
            "format": "double",
            "type": "number",
            "example": 0
          },
          "wakeupCode": {
            "description": "Signal sent from Evergateway to Eversensor that requests \nEversensor data. For the STM product, each node is assigned \none of 32 unique codes which it will respond to when broadcast\nby the gateway.",
            "type": "string",
            "example": "7C6EA12C"
          },
          "wakeupOffset": {
            "description": "Used by the Evergateway to wake-up sensors at different time \nintervals preventing collisions of signal transmissions. This \nvalue is typically set in increments of 10 seconds.\n\nSeconds",
            "format": "double",
            "type": "number",
            "example": 60
          },
          "wakeupPeriod": {
            "description": "How often the Evergateway broadcasts the wake-up signal to \nturn-on all Eversensors paired with this Evergateway.\n\nSeconds",
            "format": "double",
            "type": "number",
            "example": 60
          }
        },
        "required": [
          "enabled"
        ]
      },
      "GatewayEvernet2Settings": {
        "title": "GatewayEvernet2Settings",
        "description": "Gateway settings to support Evernet2 sensors.",
        "properties": {
          "beaconOffset": {
            "description": "This value allows Evergateways to emit beacons to \nEversensors at different times intervals, preventing \ncollisions of signal transmissions from nearby Evergateways. \nIt is typically set in increments of 200 milliseconds.",
            "format": "double",
            "type": "number",
            "example": 400
          },
          "broadcastPeriod": {
            "description": "How often the Evergateway broadcasts a message to turn-on all\nEversensors paired with this Evergateway.",
            "format": "double",
            "type": "number",
            "example": 60
          },
          "enabled": {
            "description": "Flag indicating the Evernet 2.0 protocol is enabled.",
            "type": "boolean",
            "example": true
          },
          "panId": {
            "description": "This is the Personal Area Network (PAN) identifier. \nIt must be different from it's neighboring evergateways when \ntheir wireless networks overlap.",
            "format": "int64",
            "type": "integer",
            "example": 25
          }
        },
        "required": [
          "enabled"
        ]
      },
      "GatewayReading": {
        "type": "object",
        "title": "GatewayReading",
        "description": "A single timestamp reading from a Gateway.",
        "properties": {
          "gatewaySerialNumber": {
            "type": "string",
            "example": "3AG32B5"
          },
          "timestamp": {
            "format": "int64",
            "type": "integer",
            "description": "The Unix timestamp of a gateway reading.",
            "example": 1596903680
          }
        },
        "required": [
          "gatewaySerialNumber",
          "timestamp"
        ]
      },
      "GatewayStatusSummary": {
        "type": "object",
        "title": "GatewayStatusSummary",
        "description": "A summary of the status (or daily status) message reported by the gateway.",
        "properties": {
          "gatewaySerialNumber": {
            "type": "string",
            "description": "The gateway serial number the sensor information is associated with.",
            "example": "3AG32B5"
          },
          "timestamp": {
            "format": "int64",
            "type": "integer",
            "description": "The Unix timestamp of a gateway status.",
            "example": 1596903680
          },
          "schema": {
            "type": "string",
            "description": "The schema version of the status object.",
            "example": "gateway_status_v3.schema.json"
          },
          "payload": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/GatewayStatusPayloadV1"
              },
              {
                "$ref": "#/components/schemas/GatewayStatusPayloadV3"
              },
              {
                "$ref": "#/components/schemas/GatewayDailyStatusPayloadV3"
              }
            ]
          }
        }
      },
      "GatewayDeploymentStatus": {
        "type": "string",
        "enum": [
          "Commissioned",
          "Decommissioned",
          "Returned",
          "ToBeInstalled",
          "CustomerActionNeeded"
        ],
        "description": "Deployment status of the gateway.",
        "default": "Commissioned",
        "example": "Decommissioned"
      },
      "GatewayStatusPayloadV1": {
        "required": [
          "serialNumber",
          "timestamp",
          "cpuUsagePercentage"
        ],
        "properties": {
          "connectivity": {
            "properties": {
              "provider": {
                "type": "string"
              },
              "devices": {
                "type": "array",
                "items": {
                  "x-$schema": "http://json-schema.org/draft-07/schema#",
                  "required": [
                    "status",
                    "type"
                  ],
                  "properties": {
                    "address": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "status": {
                      "description": "status as provided by the system network manager",
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "quality": {
                      "x-$schema": "http://json-schema.org/draft-07/schema#",
                      "properties": {
                        "signalStrength": {
                          "description": "The signal strength as a percentage, example: 88",
                          "type": "integer"
                        },
                        "accessPoints": {
                          "description": "The access points that are seen or connected to",
                          "type": "array",
                          "items": {
                            "x-$schema": "http://json-schema.org/draft-07/schema#",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "connected": {
                                "type": "boolean"
                              }
                            },
                            "additionalProperties": false,
                            "type": "object"
                          }
                        }
                      },
                      "additionalProperties": false,
                      "type": "object"
                    }
                  },
                  "additionalProperties": false,
                  "type": "object"
                }
              }
            },
            "type": "object"
          },
          "environmental": {
            "x-$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "humidity": {
                "type": "number"
              },
              "temperature": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "type": "object"
          },
          "serialNumber": {
            "type": "string"
          },
          "system": {
            "x-$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "cpuUsage": {
                "type": "array",
                "items": {
                  "x-$schema": "http://json-schema.org/draft-07/schema#",
                  "description": "The cpu usage",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "user": {
                      "type": "integer"
                    },
                    "nice": {
                      "type": "integer"
                    },
                    "system": {
                      "type": "integer"
                    },
                    "idle": {
                      "type": "integer"
                    },
                    "ioWait": {
                      "type": "integer"
                    }
                  },
                  "additionalProperties": false,
                  "type": "object"
                }
              },
              "diskUsage": {
                "type": "array",
                "items": {
                  "x-$schema": "http://json-schema.org/draft-07/schema#",
                  "description": "The disk usage in kilobytes of each mount.",
                  "properties": {
                    "mount": {
                      "type": "string"
                    },
                    "available": {
                      "type": "integer"
                    },
                    "free": {
                      "type": "integer"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "used": {
                      "type": "integer"
                    }
                  },
                  "additionalProperties": false,
                  "type": "object"
                }
              },
              "memoryUsage": {
                "type": "integer"
              },
              "uptime": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "type": "object"
          },
          "cpuUsagePercentage": {
            "type": "integer"
          },
          "timestamp": {
            "type": "string"
          },
          "schema": {
            "description": "The schema of this packet, as a partial-path reference.",
            "type": "string",
            "enum": [
              "gateway_status.schema.json"
            ]
          }
        },
        "additionalProperties": false,
        "type": "object"
      },
      "GatewayStatusPayloadV3": {
        "x-$comment": "MQTT Topic: v3/status/gateway/<gateway_serial>/status/",
        "x-$id": "https://schemas.data.everactive.com/v3/gateway_status_v3.schema.json",
        "x-$schema": "http://json-schema.org/schema#",
        "additionalProperties": false,
        "description": "A brief status message from the gateway, containing rapidly changing/dynamic values",
        "title": "Gateway Status message",
        "type": "object",
        "required": [
          "Connectivity",
          "Environmental",
          "System",
          "Services",
          "schema",
          "timestamp",
          "serial"
        ],
        "properties": {
          "Connectivity": {
            "required": [
              "devices"
            ],
            "properties": {
              "devices": {
                "type": "array",
                "items": {
                  "required": [
                    "name",
                    "status",
                    "type"
                  ],
                  "properties": {
                    "name": {
                      "description": "Name of the interface",
                      "type": "string"
                    },
                    "address": {
                      "description": "IP address in CIDR notation",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "status": {
                      "description": "status as provided by the system network manager",
                      "type": "string"
                    },
                    "type": {
                      "description": "type as provided by the system network manager",
                      "type": "string"
                    },
                    "ConnectionQuality": {
                      "properties": {
                        "signalStrength": {
                          "description": "The signal strength as a percentage, example: 88",
                          "type": "integer"
                        },
                        "operator": {
                          "description": "LTE operator (for wwan interfaces only)",
                          "type": "string"
                        },
                        "accessPoints": {
                          "description": "The access points that are seen or connected to (for wlan interfaces only)",
                          "type": "array",
                          "items": {
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "connected": {
                                "type": "boolean"
                              }
                            },
                            "additionalProperties": false,
                            "type": "object"
                          }
                        }
                      },
                      "additionalProperties": false,
                      "type": "object"
                    }
                  },
                  "type": "object",
                  "additionalProperties": false
                }
              }
            },
            "type": "object"
          },
          "Environmental": {
            "required": [
              "sensors",
              "ledState"
            ],
            "properties": {
              "power": {
                "properties": {
                  "VDC": {
                    "type": "number"
                  },
                  "VBAT": {
                    "type": "number"
                  },
                  "VETH": {
                    "type": "number"
                  },
                  "source": {
                    "type": "string",
                    "enum": [
                      "VDC",
                      "POE",
                      "BAT"
                    ]
                  }
                },
                "additionalProperties": false,
                "type": "object"
              },
              "ledState": {
                "properties": {
                  "status": {
                    "enum": [
                      "start",
                      "stop",
                      "unregistered",
                      "registered",
                      "cloud_connected",
                      "cloud_disconnected",
                      "app_status",
                      "production_program",
                      "self_test",
                      "on_wakeup",
                      "network_connection_off",
                      "network_connection_quality_none",
                      "network_connection_quality_low",
                      "network_connection_quality_medium",
                      "network_connection_quality_high",
                      "ltem_connection_off",
                      "ltem_connection_quality_none",
                      "ltem_connection_quality_low",
                      "ltem_connection_quality_medium",
                      "ltem_connection_quality_high"
                    ]
                  },
                  "condition": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false,
                "type": "object"
              },
              "sensors": {
                "properties": {
                  "caseTemperature": {
                    "type": "number"
                  },
                  "caseHumidity": {
                    "type": "number"
                  }
                },
                "additionalProperties": false,
                "type": "object"
              }
            },
            "additionalProperties": false,
            "type": "object"
          },
          "System": {
            "required": [
              "diskUsage",
              "memoryUsage",
              "uptime",
              "loadAvg",
              "processList"
            ],
            "properties": {
              "diskUsage": {
                "description": "Ammount of space on system drive, in kilobytes",
                "type": "array",
                "items": {
                  "properties": {
                    "device": {
                      "type": "string"
                    },
                    "mount": {
                      "type": "string"
                    },
                    "total": {
                      "type": "integer"
                    },
                    "used": {
                      "type": "integer"
                    }
                  },
                  "additionalProperties": false,
                  "type": "object"
                }
              },
              "memoryUsage": {
                "description": "Ammount of system RAM, in kilobytes",
                "properties": {
                  "total": {
                    "type": "integer"
                  },
                  "used": {
                    "type": "integer"
                  }
                },
                "additionalProperties": false,
                "type": "object"
              },
              "uptime": {
                "description": "Seconds from UNIX epoch, UTC",
                "type": "integer"
              },
              "loadAvg": {
                "description": "Systsem load averages for the last 1, 5, and 15 minutes",
                "properties": {
                  "l1": {
                    "type": "number"
                  },
                  "l5": {
                    "type": "number"
                  },
                  "l15": {
                    "type": "number"
                  }
                },
                "additionalProperties": false,
                "type": "object"
              },
              "processList": {
                "description": "Selected information about each process. Processes are selected as follows: top 2 cpu users, top 2 memory users, top 2 network users. Total of up to 6 processes.",
                "type": "array",
                "items": {
                  "properties": {
                    "pid": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "cpuPercentage": {
                      "type": "number"
                    },
                    "memPercentage": {
                      "type": "number"
                    },
                    "wallClockSeconds": {
                      "type": "integer"
                    },
                    "cpuSeconds": {
                      "type": "integer"
                    }
                  },
                  "additionalProperties": false,
                  "type": "object"
                },
                "maxItems": 6
              },
              "ApexMcEventMatrix": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 20
              }
            }
          },
          "Services": {
            "properties": {
              "online": {
                "type": "boolean"
              },
              "ntpDrift": {
                "properties": {
                  "lastoffset": {
                    "type": "number"
                  },
                  "rmsoffset": {
                    "type": "number"
                  }
                },
                "additionalProperties": false,
                "type": "object"
              },
              "mqttQueueSize": {
                "properties": {
                  "queueSize": {
                    "type": "integer"
                  },
                  "heapSize": {
                    "type": "integer"
                  },
                  "databaseSize": {
                    "type": "integer"
                  }
                },
                "additionalProperties": false,
                "type": "object"
              },
              "snapVersions": {
                "description": "Version strings of all installed snaps",
                "type": "array",
                "items": {
                  "required": [
                    "snap",
                    "version"
                  ],
                  "properties": {
                    "snap": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false,
                  "type": "object"
                }
              },
              "softwareVersions": {
                "description": "Deprecated",
                "properties": {
                  "core": {
                    "type": "string"
                  },
                  "caracalla": {
                    "type": "string"
                  },
                  "caracalla-kernel": {
                    "type": "string"
                  },
                  "everactive-apex-gadget": {
                    "type": "string"
                  },
                  "everactive-apex-kernel": {
                    "type": "string"
                  },
                  "everactive-nats": {
                    "type": "string"
                  },
                  "everactive-gateway-controller": {
                    "type": "string"
                  },
                  "everactive-gateway-base": {
                    "type": "string"
                  },
                  "everactive-cloud-connector": {
                    "type": "string"
                  },
                  "everactive-gateway-services": {
                    "type": "string"
                  },
                  "everactive-psiclone": {
                    "type": "string"
                  },
                  "everactive-evernet": {
                    "type": "string"
                  },
                  "everactive-firmware-utilities": {
                    "type": "string"
                  },
                  "everactive-chrony": {
                    "type": "string"
                  },
                  "everactive-ufw": {
                    "type": "string"
                  },
                  "everactive-dnsmasq": {
                    "type": "string"
                  },
                  "everactive-firmware-sensor-radio": {
                    "type": "string"
                  },
                  "everactive-modemreboot": {
                    "type": "string"
                  },
                  "everactive-ramcharger": {
                    "type": "string"
                  },
                  "everactive-dingo": {
                    "type": "string"
                  },
                  "everactive-firmware-ramcharger": {
                    "type": "string"
                  },
                  "everactive-firmware-mc": {
                    "type": "string"
                  },
                  "everactive-gateway-essentials": {
                    "type": "string"
                  },
                  "everactive-iot-agent": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "type": "object"
              },
              "firmwareVersions": {
                "properties": {
                  "mc": {
                    "type": "string"
                  },
                  "ramcharger": {
                    "type": "string"
                  },
                  "boomerang": {
                    "type": "string"
                  },
                  "sundance": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "type": "object"
              }
            },
            "required": [
              "online"
            ],
            "additionalProperties": false,
            "type": "object"
          },
          "schema": {
            "description": "The schema of this packet, as a partial-path reference.",
            "type": "string",
            "enum": [
              "gateway_status_v3.schema.json"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "serial": {
            "type": "string"
          }
        }
      },
      "GatewayDailyStatusPayloadV3": {
        "x-$comment": "MQTT Topic: v3/status/gateway/<gateway_serial>/status/daily",
        "x-$id": "https://schemas.data.everactive.com/v3/gateway_status_daily_v3.schema.json",
        "x-$schema": "http://json-schema.org/schema#",
        "additionalProperties": false,
        "description": "A daily status message from the gateway, containing slower changing/static values and data usage",
        "title": "Daily Gateway Status message",
        "type": "object",
        "required": [
          "schema",
          "timestamp",
          "serial"
        ],
        "properties": {
          "processListDaily": {
            "description": "Selected information about each process. All processes are sent in daily message",
            "type": "array",
            "items": {
              "properties": {
                "pid": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "cpuPercentage": {
                  "type": "number"
                },
                "memPercentage": {
                  "type": "number"
                },
                "wallClockSeconds": {
                  "type": "integer"
                },
                "cpuSeconds": {
                  "type": "integer"
                }
              },
              "additionalProperties": false,
              "type": "object"
            }
          },
          "networkUseDaily": {
            "description": "Array of data usage (in KB) per netwrork connection created over the last day",
            "type": "array",
            "items": {
              "properties": {
                "src": {
                  "type": "string"
                },
                "dst": {
                  "type": "string"
                },
                "proto": {
                  "type": "string"
                },
                "uploadKilobytes": {
                  "type": "integer"
                },
                "downloadKilobytes": {
                  "type": "integer"
                }
              },
              "additionalProperties": false,
              "type": "object"
            }
          },
          "wakeupRadio": {
            "additionalProperties": false,
            "properties": {
              "partNumber": {
                "description": "part number for wakeup radio",
                "type": "string"
              },
              "firmwareVersion": {
                "description": "firmware version for the wakeup radio",
                "type": "string"
              },
              "firmwarePartNumber": {
                "description": "firmware part number for the wakeup radio",
                "type": "string"
              },
              "productDescription": {
                "description": "product description for the wakeup radio",
                "type": "string"
              },
              "productSerial": {
                "description": "product serial for the wakeup radio",
                "type": "string"
              }
            },
            "required": [
              "partNumber",
              "firmwareVersion",
              "firmwarePartNumber",
              "productDescription",
              "productSerial"
            ],
            "type": "object"
          },
          "networkRouting": {
            "properties": {
              "dnsResolvers": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "defaultGateways": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false,
            "type": "object"
          },
          "schema": {
            "description": "The schema of this packet, as a partial-path reference.",
            "type": "string",
            "enum": [
              "gateway_status_daily_v3.schema.json"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "serial": {
            "type": "string"
          }
        }
      },
      "PaginationInfo": {
        "title": "PaginationInfo",
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "description": "The current page of data.",
            "example": 1
          },
          "pageSize": {
            "type": "integer",
            "description": "The maximum number of items that will be included on a page.",
            "example": 50
          },
          "totalItems": {
            "type": "integer",
            "description": "The total number of items.",
            "example": 153
          },
          "totalPages": {
            "type": "integer",
            "description": "The total number of pages given the `pageSize` and  `totalItems` when the request was  returned.",
            "example": 4
          }
        },
        "required": [
          "page",
          "pageSize",
          "totalItems",
          "totalPages"
        ],
        "description": "Details about a paginated result set."
      },
      "v202007CustomerMinimal": {
        "readOnly": true,
        "title": "CustomerMinimal",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The unique id of the customer.",
            "example": "54c32003-0d20-4c41-a8a5-3d24e4997975"
          },
          "integrations": {
            "title": "CustomerIntegrationInfo",
            "type": "object",
            "properties": {
              "sage": {
                "description": "A collection of properties for customers that are integrated with the Armstrong Sage product.",
                "type": "object",
                "properties": {
                  "enabled": {
                    "description": "Flag indicating the customer is integrated with Sage.",
                    "type": "boolean",
                    "example": true
                  }
                },
                "required": [
                  "enabled"
                ]
              }
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the customer.",
            "example": "Example Inc."
          },
          "status": {
            "type": "string",
            "enum": [
              "Decommissioned",
              "Demo",
              "Production",
              "To Be Installed"
            ],
            "description": "The status of the customer",
            "example": "Production"
          },
          "machineInfo": {
            "title": "CustomerMachineInfo",
            "type": "object",
            "properties": {
              "axisLabels": {
                "title": "CustomerAxisLabels",
                "type": "object",
                "properties": {
                  "x": {
                    "type": "string",
                    "description": "The label for the x-axis.",
                    "example": "axial"
                  },
                  "y": {
                    "type": "string",
                    "description": "The label for the y-axis.",
                    "example": "tangental"
                  },
                  "z": {
                    "type": "string",
                    "description": "The label for the z-axis.",
                    "example": "radial"
                  }
                }
              }
            }
          }
        },
        "required": [
          "id",
          "name"
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Evergateways",
      "description": "Endpoints related to managing and viewing Evergateways.",
      "x-everactive-public": true
    }
  ],
  "paths": {
    "/evergateways": {
      "get": {
        "x-everactive-public": true,
        "summary": "get gateways",
        "description": "Retrieve a list of gateways in your installation.  ",
        "tags": [
          "Evergateways"
        ],
        "security": [
          {
            "OAuth2": [
              "super-admin",
              "customer-admin",
              "user",
              "integration-partner",
              "asset-manager",
              "read-only"
            ]
          }
        ],
        "operationId": "get-gateways",
        "responses": {
          "200": {
            "$ref": "#/components/responses/GatewayListResponse"
          },
          "401": {
            "$ref": "#/components/responses/401Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/403Forbidden"
          }
        },
        "parameters": [
          {
            "name": "flavor",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "production",
                "virtual"
              ],
              "description": "Filter the gateways returned by the gateway flavor. An exact match is used for this filter.",
              "example": "production"
            }
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "The ID of a specific gateway to return. An exact match is used for this filter.",
            "example": "bcf992bf-bb5e-410d-bd9e-a25c2f563ca4"
          },
          {
            "name": "location",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter the returned Evergateways by the location property.\nA case-insensitive database match string.\nReturns all gateways whose location value matches this string.",
            "example": "mezzanine"
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter the returned Evergateways by the name property.\nA case-insensitive database match string.\nReturns all gateways whose name value matches this string.",
            "example": "East Mezzanine 3AG32B5"
          },
          {
            "$ref": "#/components/parameters/PageParam"
          },
          {
            "$ref": "#/components/parameters/PageSizeParam"
          },
          {
            "name": "serial-number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter the returned Evergateways by the serialNumber property.\nA case-insensitive database match string.\nReturns all gateways whose serialNumber value matches this string.",
            "example": "3AG32B5"
          },
          {
            "name": "software-version",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter the returned Evergateways by the softwareVersion property.\nA case-insensitive database match string.\nReturns all gateways whose softwareVersion value matches this string.",
            "example": "v2.0.1"
          },
          {
            "name": "sort-by",
            "in": "query",
            "description": "The field by which to sort the returned list of gateways.\nIf omitted, the list is in descending sort order by the lastReading timestamp.",
            "schema": {
              "type": "string",
              "enum": [
                "can-support-evernet2",
                "config-schema",
                "customer-name",
                "deployment-status",
                "enable-ssh",
                "enable-wakeup",
                "evernet1-settings-enabled",
                "evernet2-settings-beacon-offset",
                "evernet2-settings-pan-id",
                "flavor",
                "id",
                "last-daily-status",
                "last-reading",
                "last-status",
                "location",
                "name",
                "serial-number",
                "software-version",
                "status"
              ],
              "default": "last-reading",
              "example": "last-reading"
            }
          },
          {
            "$ref": "#/components/parameters/SortDirParam"
          }
        ]
      }
    }
  },
  "x-tagGroups": [
    {
      "name": "API Calls",
      "tags": [
        "Eversensors",
        "Evergateways",
        "Health",
        "Webhooks",
        "Mqtt"
      ]
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
````