Sends a message to the super agent. If session_id is not provided, creates a new session. Returns synchronously if completed within 15 seconds, otherwise returns 202 Accepted with session ID for polling. Optionally accepts a callback_url for webhook notification when the assistant response is ready.
Optional webhook URL to receive the assistant's response when processing completes
Message processed successfully with assistant response
The session ID
{
"id": "msg-uuid-123",
"session_id": "session-uuid-456",
"content": "Based on the Q1 data, revenue targets were met at 105%.",
"role": "assistant",
"timestamp": "2024-03-18T14:30:00Z",
"metadata": {}
}{
"id": "msg-uuid-123",
"session_id": "session-uuid-456",
"content": "Based on the Q1 data, revenue targets were met at 105%.",
"role": "assistant",
"timestamp": "2024-03-18T14:30:00Z",
"metadata": {}
}