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}`.
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
uuiduuidHeader Parameters
Response Body
application/json
application/json
curl -X POST "https://loading/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/recommended-actions/497f6eca-6276-4993-bfeb-53cbbbba6f08/accept"{
"data": {
"recommendation_id": "ddb15214-abd6-4c83-931f-eaff12e7f260",
"focus_action_id": "f4d6db9a-2fa9-44d2-959c-8030cdb0c487",
"accepted_at": "2019-08-24T14:15:22Z"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Read post-workout analysis (async-generated)
Returns recovery-focused analysis and recommendations for a completed session. `status` is `processing` while the job is in flight, `ready` when complete, and `failed` if the job errored. While `processing`, `analysis_summary` and `recommended_focus_actions` may be empty — partners typically show a spinner state until `status=ready`. Recommendations are materialized as program focus actions via `POST /v1/users/{user_id}/recommended-actions/{recommendation_id}/accept`.
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}`.