---
title: "Get Feed Plan"
method: GET
path: "/v1/farm/{farm_id}/feed-plan"
tags: ["feeding-plans"]
---

# Get Feed Plan

`GET /v1/farm/{farm_id}/feed-plan`

## Request

- Base URL: `https://api.ranch.bot`
- URL: `https://api.ranch.bot/v1/farm/{farm_id}/feed-plan`
- Auth: HTTP bearer

Current feeding plans HTTP operation. External credential scopes: read:records. Minimum farm role: READER. Production rate limit: 100 requests per 15-minute window per device account, 1000 per browser session, otherwise per client IP. RateLimit headers report the current window; respect Retry-After on 429.

## Path parameters

- `farm_id` string, uuid, required

## Query parameters

- `since` string, date-time

## Response `200`

Success

- object
  - `synced_at` string, required
  - `rations` object[], required
    - `id` string, required
    - `name` string, required
    - `unit` string, required
    - `ingredients` FeedPlanIngredient[], required
      - `id` string, required
      - `name` string, required
      - `per_head_lbs` string, required: Persisted decimal serialized as a JSON string.
      - `position` integer, required
  - `assignments` object[], required
    - `id` string, required
    - `ration_id` string, required
    - `group_id` string, required
    - `feedings_per_day` number, required
    - `label` string, nullable, required
    - `group` object, required
      - `id` string, required
      - `name` string, required
      - `head_count` number, required
  - `recent_deliveries` object[], required
    - `feeding_id` string, required
    - `ration_id` string, required
    - `group_id` string, required
    - `fed_at` string, date-time, required
    - `delivered_lbs` string, required: Decimal value serialized as a JSON string.
    - `status` 'ACTIVE' | 'COMPLETED', required

## Other responses

- `400`: Request validation failed.
- `401`: Missing/invalid authentication or insufficient farm role.
- `403`: Missing required scope or credential type is disallowed.
- `404`: Resource or active farm membership not found.
- `429`: Rate limit exceeded. Retry after the indicated delay.
- `500`: Unexpected server failure.

---

[API](https://skmtc.dev/ranch/apis/ranch-bot-http-api.md) · [All operations](https://skmtc.dev/ranch/apis/ranch-bot-http-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ranch/apis/ranch-bot-http-api/revisions/24109d33fa02?raw)
