public
Handle Send Chat Message
This endpoint is used to send a new chat message.
Args: chat_message_req (SendMessageRequest): Details about the new chat message. - When stream=True (default): Returns StreamingResponse with SSE - When stream=False: Returns ChatFullResponse with complete data request (Request): The current HTTP request context. user (User | None): The current user, obtained via dependency injection. _ (None): Rate limit check is run if user/group/global rate limits are enabled.
Returns: StreamingResponse | ChatFullResponse: Either streams or returns complete response.
post/chat/send-chat-message
Request
- Base URLhttps://cloud.onyx.app/api
- URLhttps://cloud.onyx.app/api/chat/send-chat-message
- AuthHTTP bearer
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.