Skip to content

Latest value per depth

GET /modules/{id}/measurements/latest
  • Scope readings:read
  • API key x-api-key
  • Base URL https://api.hub.akuasense.com/v1

Path parameters

  • id integer required

Query parameters

  • type string

    Quantity to read. tensio: tensiometer probe — tension, its former code, is still accepted. A module that carries only one sensor type serves that one, whatever the type requested.

    Values: humiditytemperaturetensio
    Default: humidity

Response

200

Latest value per depth

  • module_id integer always present
  • type string always present

    Type actually served (see DepthSeries).

    Values: humiditytemperaturetensio
  • unit string always present

    See DepthSeries.

  • data DepthSeriesPoint always present

    Latest measured instant, all depths. Empty object if the module has not measured anything yet.

    Show attribute Hide attributes
    • time string date-time always present

Errors

  • 400

    Invalid parameter

    invalid_id
  • 401

    Not authenticated

  • 403

    Insufficient scope, or resource outside your company