Agentic Data Plane
beta

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.

Usage

rpk ai agent a2a task get <agent|url> <task-id> [flags]

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

-h, --help

-

help for get.

--history

int

number of most recent history messages to include.

--timeout

duration

abort the call after this long (0 to wait forever) (default 5m0s).

-o, --format

string

output format: table|wide|json|yaml|markdown (env: RPAI_FORMAT) (default "table").

--no-color

-

disable colored output (env: NO_COLOR).

-c, --rpai-config

string

path to rpai config (env: RPAI_CONFIG) (default "/var/lib/redpanda/.rpai/config").

-s, --rpai-endpoint

string

override the selected environment’s AI Gateway URL for this invocation.

-p, --rpai-profile

string

rpai profile name (env: RPAI_PROFILE).

-v, --rpai-verbose

-

verbose debug logging to stderr (env: RPAI_VERBOSE).

--token

string

static bearer token override (ambient RPAI_TOKEN is ignored under rpk ai).