# Lactation live

Lactation live resources represent the state of sow feeding in farrowing crates for each Gestal feeding periods of the day. This is at the whole site's scale, not per individual sow.

# Endpoint

https://api.gestal.cloud/integration/lact-live/:lact_live_id

# Parameters

Basic parameters and queries are supported.

# The lactation live object

In addition to the common request attributes, the following attributes define the object.

Attribute Type Description
fed_at date Date for which the data was compiled.
period integer Gestal feeding schedule period for which the data is compiled.
avg_fed integer Average percent fed compared to the curves' targets.
sows integer Number of sows in farrowing crates.
farrowed integer Number of farrowed sows.
crates integer Total number of farrowing crates.
avg_lact_day float Average lactation day of sows in farrowing crates.
increased integer Number of sows which had their level increased so far that day.
decreased integer Number of sows which had their level decreased so far that day.
not_fed_qty integer Number of sows that were not fed.
critical integer Number of sows in the critical feeding zone (red).
warning integer Number of sows in the warning feeding zone (yellow).
target integer Number of sows in the target feeding zone (green).

# Example Response

{
  "data": [
    {
      "cloud_id": "lact_fed_BnUoCEIAnJSdzrV74sCjc6G0ph8P",
      "fed_at": "2019-05-23",
      "period": 5,
      "avg_fed": 1287,
      "sows": 1453,
      "farrowed": 400,
      "crates": 1453,
      "avg_lact_day": 10.0,
      "increased": 10,
      "decreased": 8,
      "not_fed_qty": 19,
      "critical": 1,
      "warning": 2,
      "target": 1431,
      "created_at": "2019-05-23T14:04:13.642Z",
      "updated_at": "2019-05-23T14:04:13.642Z"
    }
  ],
  "meta": {
    "total": 1,
    "page_total": 1,
    "pages": 1,
    "per_page": 100,
    "current_page": 1,
    "next_page": false,
    "previous_page": false,
    "first_page": true,
    "last_page": true,
    "out_of_range": false
  }
}
Last Updated: 8/27/2025, 2:40:38 PM