rpk ai agent a2a task get
Fetch a task’s current state, status message, artifacts and (optionally truncated) message history. Use -o json for the full task object.
Examples
rpk ai agent a2a task get financial-advisor TASK_ID
rpk ai agent a2a task get financial-advisor TASK_ID --history 10 -o json
Flags
| Value | Type | Description |
|---|---|---|
|
- |
help for get. |
|
int |
number of most recent history messages to include. |
|
duration |
abort the call after this long (0 to wait forever) (default 5m0s). |
|
string |
output format: table|wide|json|yaml|markdown (env: RPAI_FORMAT) (default "table"). |
|
- |
disable colored output (env: NO_COLOR). |
|
string |
path to rpai config (env: RPAI_CONFIG) (default "/var/lib/redpanda/.rpai/config"). |
|
string |
override the selected environment’s AI Gateway URL for this invocation. |
|
string |
rpai profile name (env: RPAI_PROFILE). |
|
- |
verbose debug logging to stderr (env: RPAI_VERBOSE). |
|
string |
static bearer token override (ambient RPAI_TOKEN is ignored under rpk ai). |