Invoke an AI agent with real-time streaming. Returns Server-Sent Events (SSE) for live task updates.
text | json | markdownDefault: texttext: Plain text responsejson: Structured JSON output (use with output_schema for validation)markdown: Formatted markdown responseoutput_format: "json", the agent will return data conforming to this schema.Example:true, emits events for tool calls, intermediate steps, and execution progress.Default: falseRecommended: Set to true for this endpoint to get maximum visibility into agent execution."This is for executive leadership. Use professional tone and focus on business impact.""A 500-word summary with 3 key recommendations and supporting data.""Real-time Data Analysis""550e8400-e29b-41d4-a716-446655440000""7c9e6679-7425-40de-944b-e07fc1f90ae7""chat-widget" | "mobile-app" | "websocket-client"id from the first request to maintain conversation history"a37db9a1-e483-4544-9136-b32120ae8c81"id for all requests in a conversation thread. Each unique id represents a separate conversation session. The response will include the same id (whether you provided it or it was auto-generated).Content-Type: text/event-stream
deployment_type: serverless or be a running containerid parameter across requests to maintain conversation context. The agent will remember all previous messages in the thread and stream responses with full context awareness.API Key for authentication
text, markdown, json default, harder Successful Response