Mithra Public API
API Docs
API Docs
  1. API Docs
  • Mithra Public API
  • Realtime (SSE)
    • SSE Event Schema
    • Connect (SSE)
      GET
    • Subscribe (SSE)
      POST
  • List Sensors
    GET
  • List Locations
    GET
  • Sensor Readings
    GET
  1. API Docs

List Sensors

GET
https://api.mithra.network/public/v1/sensors
List all sensors, metadata and their id (which is the sensor_id for other sensor related API calls) and location (which is the idea corresponding to the id field in location related API's).

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200Success
application/json
Body

🟠401Auth exception
🟠400Unknown exception
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mithra.network/public/v1/sensors' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
  "sensors": [
    {
      "device_title": "Test Sensor",
      "gwno": 4,
      "has_offline_warning": 1,
      "id": "2a7t941z46e3z0p",
      "install_location_description": "",
      "installed": "",
      "last_update_sec": 4054,
      "latest_uplink_created": "2025-07-07 10:28:17.391Z",
      "location": "3w4t3j5f882tekd",
      "median_update_sec": 60,
      "rssi": -33
    },
    {
      "device_title": "",
      "gwno": 2,
      "has_offline_warning": 1,
      "id": "y81jwk2c8tj03d8",
      "install_location_description": "Basement reservoir",
      "installed": "",
      "last_update_sec": 4144,
      "latest_uplink_created": "2025-07-07 10:26:47.804Z",
      "location": "3t3w4j5ekdf882t",
      "median_update_sec": 600,
      "rssi": -57
    }
  ]
}
Previous
Subscribe (SSE)
Next
List Locations
Built with