Skip to content
Rigel docs
Open Rigel

What has been cooked lately

recipes.recipe.list_recent

GET/api/v1/households/{household_id}/queries/recipes.recipe.list_recent

  • Query
  • Rigel runs it

Recipes that have been cooked, most recently cooked first, then the ones never cooked, newest first. For suggesting something to cook or something new to try.

Parameters#

What has been cooked lately: parameters
FieldDescription
household_idpathstringrequired

The household's ID.

limitqueryintegeroptional

How many to return, 1–200. Defaults to 20.

1 to 200Default 20

Response#

200 The answer.

What has been cooked lately: response fields
FieldDescription
itemsarray of objectsrequired
items[].idstringrequired

A recipe ID, such as rcp_01JC0000000000000000000000.

items[].titlestringrequired

The title.

items[].times_cookedintegerrequired

How many times it has been cooked.

items[].last_cooked_onstring (date) or nullrequired

The last day it was cooked, or null if never.

items[].never_cookedbooleanrequired

Whether it has never been cooked.

Errors#

Every error has the same envelope: error.code, error.message, error.details, error.recovery and error.request_id.

What has been cooked lately: errors
StatusCodeWhen
400validation_failedA field is missing, misspelled or out of range. details.fields lists each problem.
401unauthenticatedThe request has no valid session.
404not_foundThe household doesn't exist, or you aren't a member of it.

Examples#

These are real. Each was recorded from a sample household, the Okafors, running through the whole API when this site was built.

What has been cooked lately

Recipes cooked most recently come first, then the ones never cooked.

Request, curl
curl 'https://rigel.house/api/v1/households/hh_01M6V9CS6GGVFCY7NAS8ZTQV95/queries/recipes.recipe.list_recent' \
  -H "Cookie: rigel_session=$RIGEL_SESSION"
Request, TypeScript
const response = await fetch("https://rigel.house/api/v1/households/hh_01M6V9CS6GGVFCY7NAS8ZTQV95/queries/recipes.recipe.list_recent", {
  headers: {
    Cookie: `rigel_session=${process.env.RIGEL_SESSION}`,
  },
});
const data = await response.json();
Request, HTTP
GET /api/v1/households/hh_01M6V9CS6GGVFCY7NAS8ZTQV95/queries/recipes.recipe.list_recent HTTP/1.1
Host: rigel.house
Cookie: rigel_session=<your session>
Response, 200
HTTP/1.1 200 OK
Content-Type: application/json
X-Request-Id: req_01M6V9CSEZPBC7996K26J79D3C

{
  "items": [
    {
      "id": "rcp_01M6V9CSDDZVYFRVFNA4X5BSMZ",
      "title": "Saturday pancakes",
      "times_cooked": 1,
      "last_cooked_on": "2026-11-06",
      "never_cooked": false
    },
    {
      "id": "rcp_01M6V9CSD8VZYF11AC568Y7QPZ",
      "title": "Tomato and white bean orzo",
      "times_cooked": 0,
      "last_cooked_on": null,
      "never_cooked": true
    }
  ]
}

For Rigel#

Rigel's tool for this query is recipes_recipe_list_recent. Rigel runs this on its own, then says what it did. The agent guide has the rest.

Rigel is in early access, and sign-up is by invitation. Open Rigel