Yeasts

Query and manage your brewery's yeast inventory via the Brewgenix REST API.

Get Yeast

Returns a single yeast by its ID.

GET /api/v1/{account}/yeasts/{id}

Path Parameters

ParameterTypeDescription
accountstringYour brewery account slug (visible in the app URL).
idstringThe yeast UUID.

Authentication

Requires a valid API key passed as a Bearer token. See Authentication.

Example Request

curl "https://app.brewgenix.com/api/v1/my-brewery/yeasts/c3d4e5f6-..." \
  -H "Authorization: Bearer bgx_<your-key>"

Example Response

{
  "id": "c3d4e5f6-...",
  "name": "Safale US-05",
  "laboratory": "Fermentis",
  "product_id": "US-05",
  "yeast_type": "ale",
  "form": "dry",
  "flocculation": "medium-high",
  "min_attenuation": 72,
  "max_attenuation": 82,
  "min_temperature": 15,
  "max_temperature": 24,
  "created_at": "2025-01-15T10:00:00Z",
  "updated_at": "2025-01-15T10:00:00Z"
}

Error Responses

StatusDescription
401Missing or invalid API key.
404Yeast not found.
500Internal server error.

List Yeasts

Returns a paginated list of yeasts in your brewery account.

GET /api/v1/{account}/yeasts

Path Parameters

ParameterTypeDescription
accountstringYour brewery account slug (visible in the app URL).

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number (1-based).
limitinteger20Number of results per page. Maximum 100.
qstring-Search query. Filters by name, laboratory, or product ID.
yeast_typestring-Filter by type: ale, lager, hybrid, wheat, wine, champagne, or other.
formstring-Filter by form: dry, liquid, culture, or slurry.
flocculationstring-Filter by flocculation: low, medium-low, medium, medium-high, high, very high.

Authentication

Requires a valid API key passed as a Bearer token. See Authentication.

Example Request

curl "https://app.brewgenix.com/api/v1/my-brewery/yeasts?yeast_type=ale&form=dry" \
  -H "Authorization: Bearer bgx_<your-key>"

Example Response

{
  "data": [
    {
      "id": "c3d4e5f6-...",
      "name": "Safale US-05",
      "laboratory": "Fermentis",
      "yeast_type": "ale",
      "form": "dry",
      "flocculation": "medium-high"
    }
  ],
  "count": 1,
  "page": 1,
  "pageSize": 20,
  "pageCount": 1
}

Error Responses

StatusDescription
401Missing or invalid API key.
400Invalid query parameters.
500Internal server error.

Create Yeast

Creates a new yeast in your brewery account.

POST /api/v1/{account}/yeasts

Path Parameters

ParameterTypeDescription
accountstringYour brewery account slug (visible in the app URL).

Authentication

Requires a valid API key passed as a Bearer token. See Authentication.

Request Body

FieldTypeRequiredDescription
namestringYesYeast name.
yeast_typestringYesType: ale, lager, hybrid, wheat, wine, champagne, or other.
formstringYesForm: dry, liquid, culture, or slurry.
laboratorystringNoManufacturer or laboratory name.
product_idstringNoManufacturer's product code.
flocculationstringNoFlocculation: low, medium-low, medium, medium-high, high, or very high.
attenuates_complex_sugarsbooleanNoWhether the yeast can ferment complex sugars.
min_temperaturenumberNoMinimum fermentation temperature in °C (−10 to 50).
max_temperaturenumberNoMaximum fermentation temperature in °C (−10 to 50).
min_attenuationnumberNoMinimum attenuation percentage (0–100).
max_attenuationnumberNoMaximum attenuation percentage (0–100).
max_abvnumberNoMaximum alcohol tolerance percentage (0–25).
descriptionstringNoDescription or usage notes.
notesstringNoAdditional notes.

Example Request

curl -X POST "https://app.brewgenix.com/api/v1/my-brewery/yeasts" \
  -H "Authorization: Bearer bgx_<your-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Safale US-05",
    "yeast_type": "ale",
    "form": "dry",
    "laboratory": "Fermentis",
    "product_id": "US-05",
    "flocculation": "medium-high",
    "min_attenuation": 72,
    "max_attenuation": 82,
    "min_temperature": 15,
    "max_temperature": 24
  }'

Example Response

{
  "id": "c3d4e5f6-...",
  "name": "Safale US-05",
  "laboratory": "Fermentis",
  "product_id": "US-05",
  "yeast_type": "ale",
  "form": "dry",
  "flocculation": "medium-high",
  "min_attenuation": 72,
  "max_attenuation": 82,
  "created_at": "2026-02-24T10:00:00Z",
  "updated_at": "2026-02-24T10:00:00Z"
}

Error Responses

StatusDescription
401Missing or invalid API key.
400Request body is not valid JSON.
422Validation failed (e.g. missing required field, invalid enum value).
500Internal server error.

Update Yeast

Updates an existing yeast. Only the fields provided in the request body are updated (PATCH semantics).

PATCH /api/v1/{account}/yeasts/{id}

Path Parameters

ParameterTypeDescription
accountstringYour brewery account slug (visible in the app URL).
idstringThe yeast UUID.

Authentication

Requires a valid API key passed as a Bearer token. See Authentication.

Request Body

All fields are optional. Provide only the fields you want to update.

FieldTypeDescription
namestringYeast name.
yeast_typestringType: ale, lager, hybrid, wheat, wine, champagne, or other.
formstringForm: dry, liquid, culture, or slurry.
laboratorystringManufacturer or laboratory name.
product_idstringManufacturer's product code.
flocculationstringFlocculation: low, medium-low, medium, medium-high, high, or very high.
attenuates_complex_sugarsbooleanWhether the yeast can ferment complex sugars.
min_temperaturenumberMinimum fermentation temperature in °C (−10 to 50).
max_temperaturenumberMaximum fermentation temperature in °C (−10 to 50).
min_attenuationnumberMinimum attenuation percentage (0–100).
max_attenuationnumberMaximum attenuation percentage (0–100).
max_abvnumberMaximum alcohol tolerance percentage (0–25).
descriptionstringDescription or usage notes.
notesstringAdditional notes.

Example Request

curl -X PATCH "https://app.brewgenix.com/api/v1/my-brewery/yeasts/c3d4e5f6-..." \
  -H "Authorization: Bearer bgx_<your-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "min_temperature": 18,
    "max_temperature": 22,
    "description": "Best for clean American ales"
  }'

Example Response

{
  "id": "c3d4e5f6-...",
  "name": "Safale US-05",
  "laboratory": "Fermentis",
  "yeast_type": "ale",
  "form": "dry",
  "min_temperature": 18,
  "max_temperature": 22,
  "description": "Best for clean American ales",
  "updated_at": "2026-02-24T11:00:00Z"
}

Error Responses

StatusDescription
401Missing or invalid API key.
400Request body is not valid JSON.
404Yeast not found.
422Validation failed (e.g. invalid enum value).
500Internal server error.

Delete Yeast

Soft-deletes a yeast. The record is marked as deleted and will no longer appear in list or get requests.

DELETE /api/v1/{account}/yeasts/{id}

Path Parameters

ParameterTypeDescription
accountstringYour brewery account slug (visible in the app URL).
idstringThe yeast UUID.

Authentication

Requires a valid API key passed as a Bearer token. See Authentication.

Example Request

curl -X DELETE "https://app.brewgenix.com/api/v1/my-brewery/yeasts/c3d4e5f6-..." \
  -H "Authorization: Bearer bgx_<your-key>"

Response

Returns 204 No Content on success with an empty body.

Error Responses

StatusDescription
401Missing or invalid API key.
500Internal server error.