Send Event
Send an event to a running task.
POST
Send Event to Task
Content Types
TextPart
DataPart
Path Parameters
Body
application/json
Request for POST /tasks/{task_id}/events
Content accepts TextPart or DataPart only. Other message types (tool calls, reasoning, etc.) are agent-generated and sent via the /raw-events endpoint.
Response
Successful Response
Event returned from the events API.
Content is TextPart or DataPart (human-readable content only).
The UUID of the agent that the event belongs to
The UUID of the event
The sequence ID of the event
The UUID of the task that the event belongs to
Text content part.
- TextPart
- DataPart
The timestamp of the event
Server-advertised stream lifecycle capabilities for this event