---
title: "Record how the person says they feel, in their words; optionally the statements listed from it"
method: POST
path: "/wellbeing"
tags: ["records"]
---

# Record how the person says they feel, in their words; optionally the statements listed from it

`POST /wellbeing`

## Request

- Base URL: `https://nutri.coghorizon.com/api/v1`
- URL: `https://nutri.coghorizon.com/api/v1/wellbeing`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://nutri.coghorizon.com/oauth/authorize`, token URL `https://nutri.coghorizon.com/oauth/token`, scopes: `records:write`)

## Request body

- WellbeingInput
  - `profile_id` string
  - `text` string, required: What the person said about how they feel, kept in full
  - `recorded_at` string, date-time: When it was said; now when absent
  - `statements` object[]: The statements listed from the text, as the person made them; none when the assistant did not list them
    - `kind` 'activity' | 'food' | 'sleep' | 'feeling' | 'body' | 'other', required
    - `text` string, required: One statement in the person's words
    - `when` string, nullable: Time reference as said
  - `links` object[]: Connections the person drew themselves
    - `did` string, required: What the person did, ate or how they slept, as said
    - `felt` string, required: How they said they felt in connection with it
    - `quote` string, required: The words of the note that connect the two
  - `language` string: Language of the text, BCP 47
  - `model` string

## Response `201`

Note

- object

## Other responses

- `400`: Validation failed
- `401`: Missing or invalid token
- `403`: Token lacks the scope
- `404`: Not found
- `429`: Rate limited

---

[API](https://skmtc.dev/coghorizon/apis/top-nutritionist-api.md) · [All operations](https://skmtc.dev/coghorizon/apis/top-nutritionist-api/llms.txt) · [OpenAPI document](https://skmtc.dev/coghorizon/apis/top-nutritionist-api/revisions/928f04d72f8c?raw)
