Skip to content

Water status (moisture zone + thresholds)

GET /modules/{id}/agronomic-state
  • Scope agronomy:read
  • API key x-api-key
  • Base URL https://api.hub.akuasense.com/v1

Path parameters

  • id integer required

Response

200

Water status at the latest reading

  • moistureZone string nullable always present

    Moisture zone of the current value. null: no measurement, a faulty sensor (sensorError), soil texture not declared at one depth at least (zoneThresholds is then null), or a value between the wilting point and field capacity with neither crop nor root depth declared.

    Values: excess_watercomfortcautionwater_stressunavailable_water
  • value number nullable always present

    Moisture of the summary curve at the latest reading, %, to one decimal place. null: no measurement, or a faulty sensor (sensorError).

  • zoneThresholds ZoneThresholds nullable always present

    null: no calibrated sensor, or soil texture not declared at one depth at least.

    Show 4 attributes Hide attributes
    • fieldCapacity number always present

      Field capacity, %.

    • cautionStart number nullable always present

      Start of caution, %. null: neither crop nor root depth declared.

    • stressThreshold number nullable always present

      Water stress threshold, %. null: neither crop nor root depth declared.

    • wiltingPoint number always present

      Permanent wilting point, %.

  • drawnThresholds DrawnThresholds always present

    Thresholds drawn by hand on the summary curve: h-line annotations of the humidity curve, in vwc, whose style.fill is threshold1 (field capacity) or threshold2 (wilting point). They arm alerts; they no longer set the water status.

    Show 2 attributes Hide attributes
    • fieldCapacity number nullable always present

      Drawn field capacity, %. null: not drawn.

    • wiltingPoint number nullable always present

      Drawn wilting point, %. null: not drawn.

  • state string nullable always present

    Deprecated since 1.1.0: use moistureZone. saturated: at the drawn field capacity or above. comfort: between the two drawn thresholds. stress: below the drawn wilting point. null: no measurement, not enough thresholds to place the value, or a faulty sensor (sensorError).

    Values: saturatedcomfortstress
  • fieldCapacity number nullable always present

    Deprecated since 1.1.0: use drawnThresholds.fieldCapacity (same value). Field capacity threshold drawn on the curve, %. null: not drawn.

  • wiltingPoint number nullable always present

    Deprecated since 1.1.0: use drawnThresholds.wiltingPoint (same value). Wilting point threshold drawn on the curve, %. null: not drawn.

  • sensorError boolean always present

    true: a sensor included in the average (moisture, or the temperature that corrects it) returns an error code at the latest reading. The value would be wrong: moistureZone, state and value are then null. Do not recommend anything while it stays true.

Errors

  • 400

    Invalid parameter

    invalid_id
  • 401

    Not authenticated

  • 403

    Insufficient scope, or resource outside your company