Skip to main content
GET
Browse recipes and exercises

Authorizations

Authorization
string
header
default:Bearer sandbox_any_token_works
required

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

kind
enum<string>

Omit for both.

Available options:
recipe,
exercise
Example:

"recipe"

meal_type
enum<string>

Recipes for this meal.

Available options:
breakfast,
lunch,
dinner,
snack
Example:

"lunch"

tag
string

Items with this tag, for example high_protein.

Pattern: ^[a-z][a-z0-9_]*$
q
string

Words in the title.

Maximum string length: 100
favorites
boolean

Only the items the patient saved, most recently saved first.

limit
integer
default:25

Page size.

Required range: 1 <= x <= 100
cursor
string

The next_cursor from the previous page. Omit it for the first page.

Maximum string length: 512

Response

A page of library items.

data
object[]
required
next_cursor
string | null
required

Pass it back as cursor for the next page. null on the last page.

Example:

"eyJpZCI6IjAxOTBmNWMyIn0"