rpk ai agent a2a task watch
Reattach to a running task’s event stream (A2A tasks/resubscribe) and
print events until the task reaches a terminal state. Use after a
disconnected --stream send or a --no-block send.
Watch waits as long as the task runs (no timeout by default; bound it
with --timeout). Exit codes match send: 0 success or input-required,
4 task failed/canceled/rejected, 1 anything else.
Examples
This section provides examples of how to use rpk ai agent a2a task watch.
rpk ai agent a2a task watch financial-advisor TASK_ID
rpk ai agent a2a task watch financial-advisor TASK_ID -o json # one JSON event per line
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |