curl --request GET \
--url https://sandbox.rx.tera.health/v1/patient/library \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.rx.tera.health/v1/patient/library', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.rx.tera.health/v1/patient/library"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Browse recipes and exercises
Searches the recipes and exercises the patient can see, alphabetically. Recipes that contain one of the patient’s food allergies, or don’t fit one of their dietary restrictions, are never returned. Food dislikes are not filtered.
Plans: AI + health and fitness coaches (ai_health_fitness), AI only (ai_only).
curl --request GET \
--url https://sandbox.rx.tera.health/v1/patient/library \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.rx.tera.health/v1/patient/library', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.rx.tera.health/v1/patient/library"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
A 15-minute token bound to one patient and one enrollment, issued by POST /v1/oauth/token with the
token-exchange grant. Treat it as opaque. When it expires, exchange a fresh assertion; there is no refresh token.
Query Parameters
Omit for both.
recipe, exercise "recipe"
Recipes for this meal.
breakfast, lunch, dinner, snack "lunch"
Items with this tag, for example high_protein.
^[a-z][a-z0-9_]*$Words in the title.
100Only the items the patient saved, most recently saved first.
Page size.
1 <= x <= 100The next_cursor from the previous page. Omit it for the first page.
512
