Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Say how cooking a recipe went

POST
/api/recipes/{recipe}/cook-notes
curl --request POST \
--url http://localhost:3000/api/recipes/lemon-chicken/cook-notes \
--header 'Content-Type: application/json' \
--cookie merran.session_token=<merran.session_token> \
--data '{ "rating": 5, "note": "More lemon next time." }'

Stars, a note for next time, or both. The stars become the recipe’s rating, without keeping a version. With AI for cooking notes, a note is turned into a suggested change to the recipe in the background, waiting in the Review queue; suggesting says so. An opinion (“the kids loved it”) is just kept. With an API key, it needs the recipes: write permission.

recipe
required

The recipe’s id, or its slug.

string

Example

lemon-chicken

The recipe’s id, or its slug.

Media typeapplication/json
object
rating

1 to 5 stars. They become the recipe’s rating.

integer | null
>= 1 <= 5
note

Anything to change next time.

string | null
<= 1000 characters

Example

{
"rating": 5,
"note": "More lemon next time."
}

Saved.

Media typeapplication/json
object
id
required
string
rating
required

1 to 5 stars.

number | null
note
required

For next time.

string | null
by
required

Who cooked it, if they’re still here.

string | null
createdAt
required
string format: date-time
suggesting
required

Its note is being turned into a suggested change to the recipe, which will wait in the Review queue.

boolean

Example

{
"id": "0199e8b0-5a10-7a01-8b00-00000000000c",
"rating": 5,
"note": "More lemon next time.",
"by": "Sam Rivera",
"createdAt": "2026-10-09T01:15:00.000Z",
"suggesting": true
}

Neither stars nor a note, or something else is off.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

Not signed in.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

Not allowed.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

No such recipe.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.