Skip to content
merran
GitHubInstall

Merran documentation API & integrations

What's at home instead of on the list

GET
/api/list/covered
curl --request GET \
--url http://localhost:3000/api/list/covered \
--cookie merran.session_token=<merran.session_token>

What the list counted on at home for planned meals on it that are still to come, so left off: each thing, how much, which meals, and what those meals still need of it on the list when it covers only part. Also what’s always on hand that those meals use, left off by the household’s setting. With an API key, it needs the list: read permission.

Covered at home.

Media typeapplication/json
object
items
required

Things at home the list counted on for meals on it still to come, by name.

Array<object>
object
id
required

The thing at home’s id, as in the pantry.

string
name
required
string
list
required

The list it would be on: the one its food is on already, or where the list puts that food.

string
amount
required

How much of it was counted on, so isn’t on the list; empty when no amount was needed.

string
meals
required
Array<object>
object
id
required
string
name
required
string
date
required
string
/^\d{4}-\d{2}-\d{2}$/
anyDay
required
boolean
amount
required
string
stillToBuy
required

What the same meals still need of it on the list, when what’s at home covers only part.

string | null
onHand
required

What’s always on hand that those meals use: left off by the household’s setting, not for what’s at home.

Array<string>

Example

{
"items": [
{
"id": "0199e8b0-5a10-7a01-8b00-000000000026",
"name": "chicken thighs",
"list": "0199e8b0-5a10-7a01-8b00-00000000001c",
"amount": "1 lb",
"meals": [
{
"id": "0199e8b0-5a10-7a01-8b00-00000000001b",
"name": "Lemon Chicken",
"date": "2026-10-17",
"anyDay": false,
"amount": "1 lb"
}
],
"stillToBuy": "2 lb"
}
],
"onHand": [
"olive oil",
"salt"
]
}

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."
}
}
}

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