Skip to main content
PUT
Rate an AI Coach reply

Authorizations

Authorization
string
header
default:Bearer sandbox_any_token_works
required

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

message_id
string<uuid>
required

Body

application/json
rating
enum<string>
required
Available options:
up,
down
Example:

"down"

note
string
Maximum string length: 1000
Example:

"The swap still had fish in it"

Response

The rating.

message_id
string<uuid>
required
Example:

"0190f5cc-5e6f-7071-9283-9c0d1e2f3a45"

rating
enum<string>
required
Available options:
up,
down
Example:

"down"

note
string | null
Example:

"The swap still had fish in it"