List nutrition plans for the member
Paginated list of nutrition plans. Filter by `status` (`active`, `inactive`). Returns thin summaries; for the full plan body call `GET /nutrition-plans/{plan_id}`.
Authorization
MemberBearer Member-scoped JWT minted by POST /v1/auth/token. Required on every /v1/users/{user_id}/... route; the token's sub claim must match the path user_id.
In: header
Path Parameters
uuidQuery Parameters
Exact-match filter on plan status.
251 <= value <= 10000 <= valueHeader Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/nutrition-plans"{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"status": "active",
"active_job_id": "afb9ff35-9cf7-4596-b9e5-78184a61c8cd",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"limit": 25,
"offset": 0,
"total": 0
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Materialize a recommendation as a program focus action
Accepts one item from a session-analysis `recommended_focus_actions` array and materializes it as a program focus action. The server assigns `source`, `program`, `category`, and `scheduled_at` based on the underlying recommendation — clients do not pass raw recommendation JSON. Returns the new `focus_action_id`, queryable via `GET /v1/users/{user_id}/health-actions/{focus_action_id}`.
Create a nutrition plan (async meal generation)
Schedules an asynchronous job that builds the first full week of meals from supplied preferences and constraints. Subsequent weeks are generated on a rolling cadence. Returns `202 Accepted` with a `job_id` partners can poll.