Skip to Content
API ReferenceThread MessagesThe Message object

The message object

A message represents a single turn in a conversation thread (thr_…) between a member and an assistant.

Attributes

idstringoptional(matches ^msg_)

Message identifier (msg_…).

rolestringoptional('member' | 'coach')

Author: member or coach.

textstringoptional

Verbatim message text.

created_atstringoptional(ISO 8601 format)

Timestamp when the message was recorded.

The Message object

{ "id": "msg_7d02edd7fc430c94162cba02", "role": "coach", "text": "At 24 weeks, maintaining moderate-intensity strength training is great for back support and stamina. Focus on squats, hip hinge variations, and diaphragmatic breathing, while avoiding movements that cause abdominal coning.", "created_at": "2026-11-08T23:08:00.123456Z" }

Endpoints

MethodEndpointDescription
POST/api/v1/threads/{id}/messagesSend a member message to a thread and receive the assistant reply synchronously or as a live SSE stream (200).

Next steps

Last updated on