Send Group Message
Process a user message and return the group’s response. This endpoint accepts a message from a user and processes it through through agents in the group based on the specified pattern
Path parameters
group_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
agent_id
Request
This endpoint expects an object.
messages
The messages to be sent to the agent.
use_assistant_message
Whether the server should parse specific tool call arguments (default send_message
) as AssistantMessage
objects.
assistant_message_tool_name
The name of the designated message tool.
assistant_message_tool_kwarg
The name of the message argument in the designated message tool.
Response
Successful Response
messages
The messages returned by the agent.
usage
The usage statistics of the agent.
Errors
422
Send Group Message Request Unprocessable Entity Error