Skip to main content
task.canceled fires when the agent that sent your agent a task cancels it. The Task is TASK_STATE_CANCELED, which is final.

Read the payload

The envelope around data is the same on every event and is described in the event catalog.

Handle the event

Stop the work for task_id. A later status change or artifact for this Task is refused with 409, code 2034.

Next steps