> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fire.rest/llms.txt
> Use this file to discover all available pages before exploring further.

# Obtener lote de producción

> Devuelve detalle completo de un lote de producción incluyendo los movimientos de ingredientes.

<ParamField header="x-api-key" type="string" required>
  API key de BOH con scope `inventory:read`.
</ParamField>

<ParamField path="vendorId" type="string" required>UUID del vendor.</ParamField>
<ParamField path="batchId" type="string" required>UUID del lote de producción.</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "pb_01...",
    "status": "COMPLETED",
    "recipe_id": "rec_01...",
    "quantity_produced": 5,
    "store_id": "str_cocina_01...",
    "occurred_at": "2026-08-07T11:00:00.000Z",
    "ingredient_movements": [
      {
        "item_id": "itm_01...",
        "quantity_consumed": 4.2,
        "unit_id": "unit_kg_01..."
      }
    ]
  }
  ```

  ```json 404 theme={null}
  {
    "error": {
      "kind": "production_batch_not_found",
      "message": "Production batch not found"
    }
  }
  ```
</ResponseExample>
