Confirm a memory
curl --request PATCH \
--url https://sandbox.rx.tera.health/v1/patient/ai-coach/memories/{memory_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/merge-patch+json' \
--data '
{
"confirmed": true
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/merge-patch+json'
},
body: JSON.stringify({confirmed: true})
};
fetch('https://sandbox.rx.tera.health/v1/patient/ai-coach/memories/{memory_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.rx.tera.health/v1/patient/ai-coach/memories/{memory_id}"
payload = { "confirmed": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/merge-patch+json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "6c8e0a2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b",
"summary": "Doesn't like fish",
"confirmed": true,
"created_at": "2026-10-24T18:20:00Z",
"updated_at": "2026-10-26T10:00:00Z"
}AI Coach
Confirm a memory
The patient confirms that a memory is right (or takes the confirmation back). To correct a memory, delete it and tell the AI Coach.
Plans: AI + health and fitness coaches (ai_health_fitness), AI only (ai_only).
PATCH
/
v1
/
patient
/
ai-coach
/
memories
/
{memory_id}
Confirm a memory
curl --request PATCH \
--url https://sandbox.rx.tera.health/v1/patient/ai-coach/memories/{memory_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/merge-patch+json' \
--data '
{
"confirmed": true
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/merge-patch+json'
},
body: JSON.stringify({confirmed: true})
};
fetch('https://sandbox.rx.tera.health/v1/patient/ai-coach/memories/{memory_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.rx.tera.health/v1/patient/ai-coach/memories/{memory_id}"
payload = { "confirmed": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/merge-patch+json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "6c8e0a2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b",
"summary": "Doesn't like fish",
"confirmed": true,
"created_at": "2026-10-24T18:20:00Z",
"updated_at": "2026-10-26T10:00:00Z"
}Authorizations
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.
Path Parameters
Body
application/merge-patch+json
Example:
true
Response
The memory.
Example:
"6c8e0a2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b"
What the AI Coach remembers, in one line.
Example:
"Doesn't like fish"
The patient confirmed it is right.
Example:
false
ISO 8601 in UTC.
Example:
"2026-10-26T14:05:00Z"
ISO 8601 in UTC.
Example:
"2026-10-26T14:05:00Z"

