List production batches
list_batchesRetrieve brewery drink batches with statuses, planned and actual dates, volumes, and current vessel. Filter by drink, status, or date range to track production progress.
Instructions
Drink batches (brews) with drink, status (planned, in progress, complete), planned and actual dates, volumes and current vessel. Uses GET /drink-batches/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | API page to start from (use next_page from a previous call, with the same max_results) | |
| status | No | Only these statuses (API parameter `status__in`) | |
| drink_id | No | Only batches of this drink (API parameter `beer`) | |
| ordering | No | Sort order (API parameter `ordering`): a field name, - in front for descending, several separated by commas. The API's default is ascending id. | |
| planned_to | No | Planned start date on or before (API parameter `planned_start_date__lte`) | |
| max_results | No | Most records to return in this call; whole API pages only (up to 200 per page), so fewer may come back with a next_page to continue from | |
| planned_from | No | Planned start date on or after (API parameter `planned_start_date__gte`) | |
| started_from | No | Started at or after this date/time (API parameter `datetime_started__gte`; a date alone means 00:00 UTC) | |
| started_before | No | Started before this date/time (API parameter `datetime_started__lt`; a date alone means 00:00 UTC) | |
| batch_ref_contains | No | Part of the batch reference (API parameter `batch_ref__contains`) | |
| include_contact_details | No | Include the name of the staff member who created each batch. Off by default. |