Event Types
| Type | Description |
|---|---|
START | Execution begins (agent or tool) |
DELTA | Incremental content (streamed tokens) |
END | Execution complete with full response |
ERROR | An error occurred |
APPROVAL_REQUIRED | Tool awaiting human approval |
APPROVAL_RESOLVED | Approval decision received |
QUESTION_ASKED | Agent asks a clarifying question |
QUESTION_ANSWERED | User answers the question |
Event Structure
Consuming the Stream
cURL
Python SDK
JavaScript
Verbose Mode
Setverbose=true to receive events from nested tool and sub-agent executions, not just the top-level agent.