# Gestation live

Gestation live resources represent the state of gestation pens feeding progress, at a given date and time. This is at the whole site's scale, not per individual sow.

Mark vs Span

The time_index value ranges from 0 to 95 representing each 15-minutes steps of a 24 hours day (ex: 0 is 00:00, 1 is 00:15, 37 is 09:15, 95 is 23:45). A time_index mark means the data was generated at this point in time. A time_index span means the data was generated for the 15-minutes period preceding this point in time.

# Endpoint

https://api.gestal.cloud/integration/ges-live/:ges_live_id

# Parameters

Basic parameters and queries are supported.

# The gestation live object

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

Attribute Type Description
fed_at date Date at which the data was generated.
time_index integer 15-minutes mark at which the data was generated.
sows_fed integer Number of sows fed.
sows_total integer Total number of sows in gestation pens.
avg_ges_day integer The average gestation day of sows in gestation pens.
total_fed integer Total quantity distributed so far that day.
low_cons_sows integer Number of low consumption sows (red).
untrained_sows integer Number of untrained sows (black).
returning_sows integer Number of returning sows (gray).
unknown_sows integer Number of unknown sows (?xxxxxx).

# Example Response

{
  "data": [
    {
      "cloud_id": "ges_fed_bHrlwZ5HWWlO3cVSGb4lV2RL87N3",
      "fed_at": "2019-05-23",
      "time_index": 1,
      "sows_fed": 400,
      "sows_total": 500,
      "avg_ges_day": 8,
      "total_fed": 365,
      "low_cons_sows": 2,
      "untrained_sows": 12,
      "returning_sows": 9,
      "unknown_sows": 0,
      "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