Skip to content

Enumerations (measurements, roles, states)

GET /reference/enums
  • Scope catalog:read
  • API key x-api-key
  • Base URL https://api.hub.akuasense.com/v1

Query parameters

  • lang string

    Language of the label fields, and of a probe’s default name (name: “Probe 3”, “Sonde 3”). The code values never vary. A crop with no translation falls back to its French name.

    Values: enfr
    Default: en

Response

200

Fixed enumerations

  • measurement_types array of object always present
    Show 2 attributes Hide attributes
    • code string always present

      Quantity measured by a sensor: humidity, soil moisture; temperature, soil temperature; tensio, soil water tension, measured by a tensiometer probe. On input, tension — the former code for tensio — is still accepted.

      Values: humiditytemperaturetensio
    • label string always present
  • company_roles array of object always present
    Show 2 attributes Hide attributes
    • code string always present

      A member’s role within a company. OWNER and MANAGER can write, VIEWER only reads. Only an OWNER manages members (scope users:admin).

      Values: OWNERMANAGERVIEWER
    • label string always present
  • agronomic_states array of object always present

    Deprecated since 1.1.0: use moisture_zones.

    Show 2 attributes Hide attributes
    • code string always present

      Deprecated since 1.1.0: use MoistureZone. Former water status (state of GET /modules/{id}/agronomic-state), judged against the thresholds drawn by hand.

      Values: saturatedcomfortstress
    • label string always present
  • moisture_zones array of object always present
    Show 2 attributes Hide attributes
    • code string always present

      Moisture zone of the root zone (FAO-56). excess_water: above field capacity, water drains to depth. comfort: the crop takes up water without reducing its transpiration. caution: last quarter of the readily available water (RAW), almost entirely used up — no stress yet. water_stress: below the water stress threshold, the crop reduces its transpiration. unavailable_water: at the permanent wilting point or below, water is held too tightly for the roots.

      Values: excess_watercomfortcautionwater_stressunavailable_water
    • label string always present
  • irrigation_systems array of object always present
    Show 2 attributes Hide attributes
    • code string always present

      Type of equipment. Determines the default wetted soil fraction (FAO-56 table 20): drip 0.35 · micro_sprinkler 0.60 · all others 1.00.

      Values: dripmicro_sprinklersprinklerpivotgravitymanualother
    • label string always present
  • irrigation_input_modes array of object always present
    Show 2 attributes Hide attributes
    • code string always present

      How the application is declared. duration requires NO configuration (it is the universal fallback mode) but only yields a dose once the flow rate is known; depth_mm is taken as is; volume_m3 requires the irrigated area.

      Values: durationdepth_mmvolume_m3
    • label string always present
  • irrigation_event_statuses array of object always present
    Show 2 attributes Hide attributes
    • code string always present

      planned = scheduled, done = done, skipped = cancelled (never shown on charts).

      Values: planneddoneskipped
    • label string always present
  • irrigation_event_sources array of object always present
    Show 2 attributes Hide attributes
    • code string always present

      Where the row comes from. manual = entered in the hub · schedule = occurrence materialized by a schedule · api = this API · mcp = AI assistant. Read-only: the source is set by whichever surface writes the row.

      Values: manualscheduleapimcp
    • label string always present
  • irrigation_schedule_freqs array of object always present
    Show 2 attributes Hide attributes
    • code string always present
      Values: dailyweekly
    • label string always present
  • irrigation_confirmation_policies array of object always present
    Show 2 attributes Hide attributes
    • code string always present
      Values: automanual
    • label string always present
  • irrigation_warnings array of object always present
    Show 2 attributes Hide attributes
    • code string always present

      Why the dose could not be computed, or which assumption it rests on. NONE of them is blocking: the watering is recorded whatever happens, waterMm simply staying null.

      Values: NO_INSTALLATIONMISSING_FLOW_RATEMISSING_IRRIGATED_AREADEFAULT_FRACTION_WETTED
    • label string always present

Errors

  • 401

    Not authenticated

  • 403

    Insufficient scope, or resource outside your company