Skip to content
Skip to Content
Docs
Studio

Search Recipes

Runs a recipe search on the server and returns matching recipes. Pass q: "*" to browse (match all recipes the caller can access) instead of running a text search. Every search is restricted to recipes the caller collaborates on.

POST
/studio/recipes/search

Request Body

application/json
  1. body

Search query for the caller's accessible recipes.

q*Q

Search query text, matched against recipe name. Pass "*" to match all recipes the caller can access (browse mode) instead of running a text search.

page?Page

1-indexed page of results to return.

Range1 <= value
Default1
per_page?|

Override the number of results returned per page. Omit to use the server-configured default.

Response Body

Successful Response

application/json
  1. response

Paginated recipe search results.

results*array<>

Matching recipes for this page, most relevant first.

total_found*Total Found

Total number of matching recipes across all pages.

page*Page

The 1-indexed page number returned.

Example Request
curl -X POST 'https://api.bettermenu.live/studio/recipes/search' \  -H 'Content-Type: application/json' \  -d '{  "q": "string"}'
Example Response
{  "results": [    {      "id": "string",      "name": "string",      "status": "string",      "updated_at": 0,      "score": 0    }  ],  "total_found": 0,  "page": 0}

Recipe in, FDA-format Nutrition Facts out, with every version kept.

Start freeNo card needed.