agent-chat-sessions

Append Messages

Append messages to an existing session.

Args: request: FastAPI request used by the rate-limiter. session_id: Chat session primary key. body: Messages to append. auth: Authenticated caller. service: Chat-session service.

Returns: ChatSessionMessagesAppendResponse with messages_added count.

Raises: HTTPException: 404 when the session is missing or not owned.

post/mle-agent/sessions/{session_id}/messages

Path parameters

session_idstring uuid required

Request body

Response

Successful Response

successboolean
session_idstring required
messages_addedinteger required

Changes

Changed in 1 of the 3 revisions of this API.1

    • for the path request parameter session_id, the format changed from no format to uuid

      request-parameter-type-changed

    This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog