Thrive AI Health
Api reference

Retrieve the user's ranked health priorities

Returns priorities derived from the member's intake conversation and refreshed during weekly adaptation. Default scope is `status=active`; partners can request `dismissed`, `completed`, or `outdated` to render history surfaces. The `program.updated` event signals that priorities may have changed and partners should re-fetch.

GET
/v1/users/{user_id}/priorities

Authorization

MemberBearer
AuthorizationBearer <token>

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

user_id*User Id
Formatuuid

Query Parameters

status?Status
Default"active"
Value in"active" | "dismissed" | "completed" | "outdated"

Header Parameters

org-id?string|null
x-user-id?string|null
x-request-id?string|null
traceparent?string|null
Idempotency-Key?|null

Response Body

application/json

application/json

curl -X GET "https://loading/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/priorities"
{
  "data": [
    {
      "user_priority_id": "b914d843-6cad-4da3-a38d-6578893897fb",
      "title": "string",
      "description": "string",
      "target": "string",
      "domains": [
        "activity"
      ],
      "status": "active",
      "rank": 1,
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}