rpk ai env add
Add a manual rpai environment with explicit URLs
Flags
| Value | Type | Description |
|---|---|---|
|
string |
adp-api base URL (optional; derived from the AI Gateway URL when omitted). |
|
string |
AI Gateway base URL (required). |
|
string |
auth mode: device|rpk|token|none (default device). |
|
string |
copy an existing environment as the base. |
|
- |
help for add. |
|
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). |