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

# get sensors

Retrieve a list of sensors matching the filter criteria.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Everactive Air Gap API",
    "version": "v1",
    "license": {
      "name": "ISC",
      "url": "https://www.isc.org/licenses/"
    },
    "description": "This API provides access to Everactive sensor readings and status information as well\nas Everactive gateway status information.",
    "contact": {
      "name": "Everactive",
      "email": "success@everactive.com",
      "url": "https://everactive.com"
    },
    "x-logo": {
      "url": "https://everactive.com/content/themes/storyware/assets/svg/logo.svg",
      "backgroundColor": "#0d0d3d",
      "altText": "Everactive"
    },
    "x-tagGroups": [
      {
        "name": "API Calls",
        "tags": [
          "Config",
          "Gateways",
          "Health",
          "Sensors"
        ]
      }
    ]
  },
  "servers": [
    {
      "url": "http://HOSTNAME/data/v1",
      "description": "Local Everactive API"
    }
  ],
  "tags": [
    {
      "name": "Sensors",
      "description": "Endpoints related to sensors."
    }
  ],
  "paths": {
    "/sensors": {
      "get": {
        "tags": [
          "Sensors"
        ],
        "summary": "get sensors",
        "operationId": "get-sensors",
        "description": "Retrieve a list of sensors matching the filter criteria.",
        "parameters": [
          {
            "name": "mac-address",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter the list of sensors using a `LIKE` comparison with the provided mac address.\nIf a full mac address is provided in the filter an exact comparison is used.",
            "examples": {
              "partial-mac": {
                "summary": "A parial mac address, `LIKE` comparison will be used.",
                "value": "00:03:43"
              },
              "full-mac": {
                "summary": "A full mac address. An exact match will be used.",
                "value": "ba:fe:23:00:01:fe:33:29"
              }
            }
          },
          {
            "$ref": "#/components/parameters/PageParam"
          },
          {
            "$ref": "#/components/parameters/PageSizeParam"
          },
          {
            "$ref": "#/components/parameters/SensorSortByParam"
          },
          {
            "$ref": "#/components/parameters/SortDirParam"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SensorListResponse"
          },
          "400": {
            "$ref": "#/components/responses/400Error"
          },
          "401": {
            "$ref": "#/components/responses/401Unauthorized"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "PageParam": {
        "name": "page",
        "in": "query",
        "description": "A one-based index for the first page number to return from a paginated call.\nIf omitted the default value is `1`.",
        "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.\nIf omitted the default value is `50`.",
        "required": false,
        "schema": {
          "type": "integer",
          "format": "int32",
          "minimum": 1,
          "default": 50,
          "example": 25
        }
      },
      "SensorSortByParam": {
        "name": "sort-by",
        "in": "query",
        "description": "The property to sort a list of sensors by.",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "last-reading",
            "mac-address"
          ],
          "example": "mac-address",
          "default": "mac-address"
        }
      },
      "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",
          "default": "asc"
        }
      }
    },
    "responses": {
      "400Error": {
        "description": "The request is invalid.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ClientError"
                },
                {
                  "$ref": "#/components/schemas/HttpError"
                }
              ]
            }
          }
        }
      },
      "401Unauthorized": {
        "description": "The request did not include the correct authorization or the included authorization has expired.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "$ref": "#/components/schemas/HttpError"
            }
          }
        }
      },
      "SensorListResponse": {
        "description": "A list of sensors",
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Sensor"
                  }
                },
                "paginationInfo": {
                  "$ref": "#/components/schemas/PaginationInfo"
                }
              },
              "type": "object"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "schemas": {
      "ClientError": {
        "title": "Client Error",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "A code that uniquely identifies the error type, e.g. `error_validation`.",
            "example": "error_validation"
          },
          "message": {
            "type": "string",
            "description": "A description of the error code.",
            "example": "Validation error."
          },
          "errors": {
            "type": "array",
            "description": "\"A collection of sub-errors that are encompassed by the top-level error. \n\nValidation errors will often have one or more specific fields that did not pass validation, \n\nthis collection will describe the specific errors.\"",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "A code that uniquely identifies the error type, e.g. `error_no_value`.",
                  "example": "error_invalid_mac_address"
                },
                "field": {
                  "type": "string",
                  "description": "Errors for a specific field passed in the body will indicate which field caused the error.",
                  "example": "sensor.macAddress"
                },
                "message": {
                  "type": "string",
                  "description": "A description of the error.",
                  "example": "no:ta:re:al:ma:c0 is an invalid MAC address"
                }
              },
              "required": [
                "code",
                "message"
              ]
            }
          }
        },
        "required": [
          "code",
          "message"
        ],
        "description": "An error specific to an action the client is attempting."
      },
      "HttpError": {
        "title": "Http Error",
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "The http error message.",
            "example": "Bad Request"
          },
          "statusCode": {
            "type": "integer",
            "description": "The http status code.",
            "example": 400
          }
        }
      },
      "PaginationInfo": {
        "title": "Pagination Info",
        "type": "object",
        "description": "Details about a paginated result set.",
        "required": [
          "page",
          "pageSize",
          "totalItems",
          "totalPages"
        ],
        "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
          }
        }
      },
      "Sensor": {
        "title": "Sensor",
        "description": "A sensor.",
        "type": "object",
        "required": [
          "id",
          "macAddress"
        ],
        "properties": {
          "createdTimestamp": {
            "type": "integer",
            "format": "int64",
            "description": "The timestamp the sensor was created in seconds from 1970-01-01'T'00:00:00Z.",
            "example": 1663091345,
            "readOnly": true
          },
          "encryptionKey": {
            "type": "string",
            "description": "The encryption key necessary to associate a sensor with a gateway.\nThis is a write-only property that is set when the sensor is created.",
            "writeOnly": true,
            "example": "a-secret-value"
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The unique sensor id.",
            "example": "4b9bc1d5-8231-43ca-968a-ecbf4cce12b4",
            "readOnly": true
          },
          "lastAssociation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SensorAssociationEvent"
              },
              {
                "readOnly": true
              }
            ]
          },
          "lastFtwfTimestamp": {
            "type": "integer",
            "format": "int64",
            "description": "The timestamp the last full-time waveform measurement was received from this sensor\nin seconds from 1970-01-01'T'00:00:00Z.\n\nThis field will only be populated if the sensor is a MVM 2.0 sensor and has reported \nat least one full-time waveform measurement.",
            "readOnly": true
          },
          "lastInfo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SensorInfoEvent"
              },
              {
                "readOnly": true
              }
            ]
          },
          "lastReading": {
            "description": "The last reading received from the sensor excluding Full time waveform readings.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/SensorReadingBase"
              },
              {
                "$ref": "#/components/schemas/SensorReadingTempHumidity"
              },
              {
                "$ref": "#/components/schemas/SensorReadingVibrationElectrical"
              }
            ],
            "readOnly": true
          },
          "macAddress": {
            "type": "string",
            "description": "The unique mac address of the sensor. Can be either 48-bit or\n64-bit version.",
            "example": "01:02:03:43:AA:BC:DE:FF"
          },
          "manufacturingFwVersion": {
            "type": "string",
            "description": "The original firmware version shipped.",
            "example": "1.0.1"
          },
          "manufacturingPartNumber": {
            "type": "string",
            "description": "The original part number when shipped.",
            "example": "evr-01-23456"
          },
          "manufacturingSerialNumber": {
            "type": "string",
            "description": "The original serial number when shipped.",
            "example": "evrac01020343AABCDEFF"
          },
          "type": {
            "$ref": "#/components/schemas/SensorType"
          },
          "updatedByClientId": {
            "type": "string",
            "format": "uuid",
            "description": "The id of the client that last updated the sensor.",
            "example": "3c9733f3-a34d-44f4-b7f1-f83de739abe8",
            "readOnly": true
          },
          "updatedTimestamp": {
            "type": "number",
            "format": "int64",
            "description": "The timestamp the sensor was last updated in seconds from 1970-01-01'T'00:00:00Z.",
            "example": 1682701052,
            "readOnly": true
          }
        }
      },
      "SensorAssociationEvent": {
        "title": "Sensor Association Packet Event",
        "type": "object",
        "description": "An Eversensor association event",
        "properties": {
          "gatewaySerialNumber": {
            "type": "string",
            "description": "The serial number of the Gateway that reported the association event.",
            "example": "4Y6ZL43",
            "readOnly": true
          },
          "timestamp": {
            "type": "integer",
            "description": "The timestamp the association event was received by the gateway. In seconds from 1970-01-01T00:00:00Z.",
            "example": 1591376354,
            "format": "int64",
            "readOnly": true
          }
        },
        "required": [
          "gatewaySerialNumber",
          "timestamp"
        ]
      },
      "SensorAxisMetrics": {
        "title": "SensorAxisMetrics",
        "type": "object",
        "properties": {
          "configurationMetadata": {
            "$ref": "#/components/schemas/SensorAxisMetricsConfigurationMetadata"
          },
          "maxLevels": {
            "$ref": "#/components/schemas/SensorAxisMetricsLevels"
          },
          "overallLevels": {
            "$ref": "#/components/schemas/SensorAxisMetricsLevels"
          },
          "spectralPeaks": {
            "$ref": "#/components/schemas/SensorAxisMetricsSpectralPeaks"
          }
        },
        "additionalProperties": false
      },
      "SensorAxisMetricsConfigurationMetadata": {
        "title": "SensorAxisMetricsConfigurationMetadata",
        "type": "object",
        "properties": {
          "bitsPerSample": {
            "type": "integer",
            "format": "int32",
            "description": "The number of bits per sample.",
            "example": 12,
            "readOnly": true
          },
          "sampleCount": {
            "type": "integer",
            "format": "int32",
            "description": "The number of samples.",
            "example": 4096,
            "readOnly": true
          },
          "sampleFullScale": {
            "type": "integer",
            "format": "int32",
            "example": 2,
            "readOnly": true
          },
          "sampleRate": {
            "type": "integer",
            "format": "int32",
            "description": "The sample rate (Hz).",
            "example": 3200,
            "readOnly": true
          },
          "units": {
            "type": "string",
            "enum": [
              "mg",
              "mm/s",
              "mm"
            ],
            "description": "The unit of measure for all values reported in the object.",
            "example": "mm/s",
            "readOnly": true
          }
        },
        "required": [
          "units"
        ]
      },
      "SensorAxisMetricsLevels": {
        "title": "SensorAxisMetricsLevels",
        "type": "object",
        "properties": {
          "axial": {
            "type": "number",
            "format": "float",
            "example": 0.143,
            "readOnly": true
          },
          "tangential": {
            "type": "number",
            "format": "float",
            "example": 0.362,
            "readOnly": true
          },
          "radial": {
            "type": "number",
            "format": "float",
            "example": 0.132,
            "readOnly": true
          }
        }
      },
      "SensorAxisMetricsSpectralPeaks": {
        "title": "SensorAxisMetricsSpectralPeaks",
        "type": "object",
        "properties": {
          "axial": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SensorFrequencyMagnitude"
            }
          },
          "tangential": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SensorFrequencyMagnitude"
            }
          },
          "radial": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SensorFrequencyMagnitude"
            }
          }
        }
      },
      "SensorElectricalFieldMetricsConfigurationMetadata": {
        "title": "SensorElectricalFieldMetricsConfiurationMetadata",
        "type": "object",
        "properties": {
          "bitsPerSample": {
            "type": "integer",
            "format": "int32",
            "description": "The number of bits per sample.",
            "example": 12,
            "readOnly": true
          },
          "sampleCount": {
            "type": "integer",
            "format": "int32",
            "description": "The number of samples.",
            "example": 4096,
            "readOnly": true
          },
          "sampleFullScale": {
            "type": "integer",
            "format": "int32",
            "example": 2,
            "readOnly": true
          },
          "sampleRate": {
            "type": "integer",
            "format": "int32",
            "description": "The sample rate (Hz).",
            "example": 3200,
            "readOnly": true
          },
          "units": {
            "type": "string",
            "enum": [
              "micro-teslas"
            ],
            "description": "The unit of measure for all values reported in the object.",
            "example": "micro-teslas",
            "readOnly": true
          }
        },
        "required": [
          "units"
        ]
      },
      "SensorFrequencyMagnitude": {
        "title": "FrequencyMagnitude",
        "type": "object",
        "description": "The measured value and the units of the measurement for the specified frequency.",
        "properties": {
          "frequency": {
            "type": "number",
            "format": "double",
            "description": "The frequency the measurement was taken in Hz.",
            "example": 1500,
            "readOnly": true
          },
          "value": {
            "type": "number",
            "format": "float",
            "description": "The value measured by the sensor.",
            "example": 0.2,
            "readOnly": true
          }
        },
        "required": [
          "frequency",
          "value"
        ],
        "additionalProperties": false
      },
      "SensorInfoEvent": {
        "title": "Sensor Information Packet Event",
        "type": "object",
        "description": "An Eversensor info event",
        "properties": {
          "firmwareVersion": {
            "type": "string",
            "description": "The firmware version of the Eversensor sending the info event.",
            "example": "tinytiger-f0/v0.5.5-r645158f8",
            "readOnly": true
          },
          "gatewaySerialNumber": {
            "type": "string",
            "description": "The serial number of the Gateway that reported the info event.",
            "example": "4Y6ZL43",
            "readOnly": true
          },
          "partNumber": {
            "type": "string",
            "description": "The part number of the Eversensor sending the info event.",
            "example": "810-00033",
            "readOnly": true
          },
          "sensorSerialNumber": {
            "type": "string",
            "description": "The serial number of the Eversensor that reported the info event.",
            "example": 204600448,
            "readOnly": true
          },
          "timestamp": {
            "type": "integer",
            "description": "The timestamp the info event was received by the gateway. In seconds from 1970-01-01T00:00:00Z.",
            "example": 1591376354,
            "format": "int64",
            "readOnly": true
          }
        },
        "required": [
          "gatewaySerialNumber",
          "sensorSerialNumber",
          "timestamp"
        ]
      },
      "SensorReadingBase": {
        "title": "Sensor Reading (Base)",
        "description": "Common properties reported for all Everactive sensors.",
        "type": "object",
        "properties": {
          "gatewaySerialNumber": {
            "type": "string",
            "description": "The serial number of the gateway that reported the sensor reading.",
            "example": "4Y6ZL43"
          },
          "macAddress": {
            "type": "string",
            "description": "The MAC address assigned to the sensor.",
            "example": "00:aa:03:23:45:00:20:f3"
          },
          "packetNumberEversensor": {
            "type": "integer",
            "format": "int",
            "description": "A number that increments from 0 to 255 with each reading the sensor transmits.\n\nThe number rolls over to 0 for the next reading once 255 is reached.\n\nCan be used to determine if sensor readings are being received by the Gateway.",
            "example": 12
          },
          "readingDate": {
            "description": "The ISO-8601 date-time representation of the timestamp.\n\nUse to check when the reading was received by the gateway.",
            "type": "string",
            "format": "date-time",
            "example": "2022-12-01T20:34:54.000Z"
          },
          "rssiDownlink": {
            "type": "number",
            "format": "float",
            "description": "The signal strength from gateway -> sensor as measured by the sensor.",
            "example": -66.4
          },
          "rssiUplink": {
            "type": "number",
            "format": "float",
            "description": "The signal strength from sensor -> gateway as measured by the gateway.",
            "example": -68.4
          },
          "scap": {
            "type": "number",
            "format": "float",
            "description": "Electrical potential of the super capacitor on the sensor, in volts (V).",
            "example": 3.92
          },
          "schema": {
            "$ref": "#/components/schemas/SensorReadingSchema"
          },
          "schemaVersion": {
            "type": "string",
            "example": "v1"
          },
          "timestamp": {
            "description": "The timestamp the reading was received by the gateway. In seconds from 1970-01-01T00:00:00Z.",
            "type": "integer",
            "format": "int64",
            "example": 1642023271
          },
          "unsolicited": {
            "description": "True if the reading was sent by the Eversensor without a wakeup signal being sent.\nFalse if it was requested by the gateway. ",
            "type": "boolean",
            "example": false
          },
          "vcap": {
            "type": "number",
            "format": "float",
            "description": "Electrical potential of the capacitor(s) on the sensor, in volts (V).",
            "example": 3.84
          }
        },
        "required": [
          "gatewaySerialNumber",
          "macAddress",
          "packetNumberEversensor",
          "readingDate",
          "schema",
          "timestamp"
        ]
      },
      "SensorReadingSchema": {
        "type": "string",
        "enum": [
          "https://evr.ac/schemas/platform/eversensor/temperature-humidity/v1/reading",
          "https://evr.ac/schemas/platform/eversensor/vibration-electrical/v1/reading",
          "https://evr.ac/schemas/platform/eversensor/ftwf/v1/reading"
        ]
      },
      "SensorReadingTempHumidity": {
        "title": "temperature-humidity-eversensor-reading",
        "description": "A reading received from an Eversensor with humidity and temperature sensor measurements.",
        "allOf": [
          {
            "$ref": "#/components/schemas/SensorReadingBase"
          },
          {
            "type": "object",
            "properties": {
              "humidityMeasurements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "sensorIndex": {
                      "type": "integer",
                      "description": "The humidity sensor index (zero-based)."
                    },
                    "value": {
                      "type": "number",
                      "format": "float",
                      "description": "The humidity measurement (percent).",
                      "example": 35.7
                    }
                  }
                }
              },
              "schema": {
                "type": "string",
                "enum": [
                  "https://evr.ac/schemas/platform/eversensor/temperature-humidity/v1/reading"
                ]
              },
              "schemaVersion": {
                "type": "string",
                "enum": [
                  "v1"
                ]
              },
              "temperatureMeasurements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "sensorIndex": {
                      "type": "integer",
                      "description": "The temperature sensor index (zero-based)."
                    },
                    "value": {
                      "type": "number",
                      "format": "float",
                      "description": "The temperature measurement (K).",
                      "example": 403.7
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SensorReadingVibrationElectrical": {
        "title": "vibration-electrical-eversensor-reading",
        "description": "A reading received from an Eversensor with vibrational and\nelectrical field sensor measurements.",
        "allOf": [
          {
            "$ref": "#/components/schemas/SensorReadingBase"
          },
          {
            "type": "object",
            "properties": {
              "electricFieldMeasurements": {
                "type": "object",
                "properties": {
                  "configurationMetadata": {
                    "$ref": "#/components/schemas/SensorElectricalFieldMetricsConfigurationMetadata"
                  },
                  "maxLevel": {
                    "type": "number",
                    "format": "float",
                    "description": "The maximum recorded electrical field value in micro-teslas."
                  },
                  "overallLevel": {
                    "type": "number",
                    "format": "float",
                    "description": "The average recorded electrical field value in micro-teslas."
                  },
                  "spectralPeaks": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/SensorFrequencyMagnitude"
                    }
                  }
                }
              },
              "humidityMeasurements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "sensorIndex": {
                      "type": "integer",
                      "description": "The humidity sensor index (zero-based)."
                    },
                    "value": {
                      "type": "number",
                      "format": "float",
                      "description": "The humidity measurement (percent).",
                      "example": 35.7
                    }
                  }
                }
              },
              "schema": {
                "type": "string",
                "enum": [
                  "https://evr.ac/schemas/platform/eversensor/vibration-electrical/v1/reading"
                ]
              },
              "schemaVersion": {
                "type": "string",
                "enum": [
                  "v1"
                ]
              },
              "temperatureMeasurements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "sensorIndex": {
                      "type": "integer",
                      "description": "The temperature sensor index (zero-based)."
                    },
                    "value": {
                      "type": "number",
                      "format": "float",
                      "description": "The temperature measurement (K).",
                      "example": 403.7
                    }
                  }
                }
              },
              "vibrationalMeasurements": {
                "type": "object",
                "properties": {
                  "acceleration": {
                    "$ref": "#/components/schemas/SensorAxisMetrics"
                  },
                  "velocity": {
                    "$ref": "#/components/schemas/SensorAxisMetrics"
                  },
                  "displacement": {
                    "$ref": "#/components/schemas/SensorAxisMetrics"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        ]
      },
      "SensorType": {
        "title": "Sensor Type",
        "description": "The type of sensor.",
        "type": "string",
        "enum": [
          "TempHumidity",
          "VibrationalElectrical"
        ],
        "example": "VibrationalElectrical"
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```