v2

OpenAPI 3.0.02026-08-051996591.2 MB
A2A Protocol

Subscribe to A2A v1 task updates

Attaches to a running task and streams subsequent lifecycle updates as Server-Sent Events in the v1 wire format. If the task is already terminal, streams the final task and closes.

post/v2/agents/{agent_key}/tasks/{task_id}:subscribe

Path parameters

agent_keystring required

A unique key that identifies an agent.

Example:customer_support

The unique key of the agent.

task_idstring required

The A2A task id, as returned in task.id. Opaque — do not construct or parse.

Headers

Request-Timeoutinteger

The platform makes a best effort to complete the request in the specified seconds, or it times out.

Request-Timeout-Millisinteger

The platform makes a best effort to complete the request in the specified milliseconds, or it times out.

Response

A stream of A2aV1StreamResponse events.