Append a message (user or assistant turn) to a chat session.
Endpoint
Authentication
Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: contributor.
Path parameters
Request body
Speaker role (user / assistant / system); defaults to user.
Response
Order index of the message within the session.
Example