Messaging
Submit a message to the central messaging system
Submit a message to the central messaging bus for agent processing. This is the primary endpoint for sending messages to agents, replacing the deprecated agent-specific message endpoints.
The message is submitted to a central channel and the appropriate agent(s) will process it based on the channel and room configuration. This architecture allows for multi-agent conversations and better message routing.
Important: Do not use /api/agents/{agentId}/message
- that endpoint no longer exists.
All messages should go through this central messaging system.
POST
Submit a message to the central messaging system
Body
application/json
Response
201
application/json
Message submitted successfully
The response is of type object
.
Submit a message to the central messaging system