v1

latestOpenAPI 3.1.02026-08-04151221521.2 KB
Tasks

Send Event to Task

Send an event to a running task.

post/tasks/{task_id}/events

Path parameters

task_idstring required

Request body

idempotency_keystring nullable

Optional idempotency key for retry-safe event delivery.

persist_messageboolean

Whether to also create a message record for this event. Defaults to True.

Response

Successful Response

agent_idstring required

The UUID of the agent that the event belongs to

created_atstring date-time nullable

The timestamp of the event

idstring required

The UUID of the event

sequence_idinteger required

The sequence ID of the event

streamCapabilitiesstring[] nullable

Server-advertised stream lifecycle capabilities for this event

task_idstring required

The UUID of the task that the event belongs to