---
title: "Get Farm"
method: GET
path: "/v1/farm/{farm_id}"
tags: ["farms"]
---

# Get Farm

`GET /v1/farm/{farm_id}`

## Request

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

Current farms HTTP operation. External credential scopes: read:farms. 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

## Response `200`

Success

- object
  - `farm` object, required
    - `id` string, nullable, required
    - `allow_private_threads` boolean, nullable, required
    - `current_month_start` string, date-time, nullable, required
    - `is_active` boolean, nullable, required
    - `name` string, nullable, required
    - `species` string, nullable, required
    - `species_other` string, nullable, required
    - `created_at` string, date-time, nullable, required
    - `updated_at` string, date-time, nullable, required
    - `farm_users` FarmMember[], required
      - `id` string, nullable, required
      - `farm_id` string, nullable, required
      - `user_id` string, nullable, required
      - `is_active` boolean, nullable, required
      - `role` string, nullable, required
      - `created_at` string, date-time, nullable, required
      - `updated_at` string, date-time, nullable, required
      - `user` object, required
        - `id` string, required
        - `full_name` string, nullable, required
        - `phone_number_local` string, 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)
