Execute an agent with a message and optional media files. Supports both streaming and non-streaming responses.
Features:
Streaming Response:
When stream=true
, returns SSE events with event
and data
fields.
Agent run executed successfully
The response is of type any
.