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
application/json- body
Search query for the caller's accessible recipes.
q*QSearch query text, matched against recipe name. Pass "*" to match all recipes the caller can access (browse mode) instead of running a text search.
page?Page1-indexed page of results to return.
Range
1 <= valueDefault
1per_page?|Override the number of results returned per page. Omit to use the server-configured default.
Successful Response
application/json- response
Paginated recipe search results.
results*array<>Matching recipes for this page, most relevant first.
total_found*Total FoundTotal number of matching recipes across all pages.
page*PageThe 1-indexed page number returned.
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}