{ "id": "msg_124", "session_id": "sess_123", "status": "completed", "output": { "parts": [ { "type": "text", "text": "Here is a draft response for the customer..." } ] }, "attempt": 1, "created_at": "2026-03-31T18:40:00Z", "completed_at": "2026-03-31T18:40:12Z"}
Sends a message to a session and waits for the terminal message result before responding.Use this endpoint when you want the completed message output inline.