Send Message To Group
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
Authentication
AuthorizationBearer
Header authentication of the form Bearer <token>
Path parameters
group_id
The ID of the group in the format ‘group-<uuid4>’
Request
This endpoint expects an object.
messages
The messages to be sent to the agent.
max_steps
Maximum number of steps the agent should take to process the request.
include_return_message_types
Only return specified message types in the response. If None (default) returns all messages.
use_assistant_messageDeprecated
Whether the server should parse specific tool call arguments (default send_message) as AssistantMessage objects. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.
assistant_message_tool_nameDeprecated
The name of the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.
assistant_message_tool_kwargDeprecated
The name of the message argument in the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.
enable_thinkingDeprecated
If set to True, enables reasoning before responses or tool calls from the agent.
Response
Successful Response
messages
The messages returned by the agent.
stop_reason
The stop reason from Letta indicating why agent loop stopped execution.
usage
The usage statistics of the agent.