Handle Send Chat Message
Chat
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
Handle Send Chat Message
Documentation Index
Fetch the complete documentation index at: https://docs.get-nexus.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Authorization header with Bearer token
Body
application/json
Origin of a chat message for telemetry tracking.
Available options:
webapp, chrome_extension, api, slackbot, unknown, unset Response
Successful Response