get_order_feedback
List customer feedback left on online orders (the Online Orders > Feedback tab): hatch-rate reports with eggs set/hatched, star rating and comments, plus shipping damage reports. Damage reports carry a masked contact (contactMasked) by default. Pass feedbackId to fetch one report directly. Pass includeContact: true to also get the full contact (email or phone as the customer entered it) in contact; this is only allowed for the farm's own owner/admin AI key with read/write scope, is denied for other roles and read-only keys, and every such access is audit-logged. Read-only. Requires farmId and apiKey authorization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional report type filter | |
| limit | No | Optional max results (default 25, max 100) | |
| cursor | No | Optional pagination cursor (nextCursor from a previous call) | |
| farmId | Yes | The unique farm ID | |
| endDate | No | Optional end date (YYYY-MM-DD in farm time or ISO datetime) | |
| orderId | No | Optional order ID to match feedback for a single order | |
| isPublic | No | Optional filter: true = shown in Farm Directory, false = private | |
| maxRating | No | Optional maximum star rating 1-5 (hatch reports only) | |
| minRating | No | Optional minimum star rating 1-5 (hatch reports only) | |
| startDate | No | Optional start date (YYYY-MM-DD in farm time or ISO datetime) | |
| feedbackId | No | Optional feedback report ID to fetch a single report (other filters are ignored). Returns notFound: true if it does not exist on this farm. | |
| includeContact | No | Optional, default false. When true, damage reports also include `contact` (the full customer email/phone as stored). Requires the farm's own owner or admin AI key (not read-only); otherwise the call is rejected. Access is audit-logged. |