rpk ai budget create
Create a Budget.
| This command was introduced in ai version 0.2.94. |
Examples
This section provides examples of how to use rpk ai budget create.
rpk ai budget create openai-monthly --pooling-mode shared --filter-provider-names openai --period monthly --limit-usd 100 --warn-at-usd 80
rpk ai budget create team-monthly --pooling-mode shared --filter-agent-tags '{"key":"team","values":["payments","billing"]}' --period monthly --limit-usd 100 --warn-at-usd 80
rpk ai budget create invoice-monthly --pooling-mode per-agent --filter-agent-name agents/invoice --period monthly --limit-usd 10 --warn-at-usd 8
rpk ai budget create preview -f budget.yaml --dry-run
Flags
| Value | Type | Description |
|---|---|---|
|
string |
Display name. |
|
string |
Filter agent name. |
|
Budget.filter_agent_tags |
See Budget.filter_agent_tags. (repeatable; key (bare values comma-split) or protojson object; replaces the full list on update). |
|
Budget.filter_provider_names |
See Budget.filter_provider_names. (repeatable; replaces the full list on update). |
|
string |
Pooling mode. (one of: per-agent, shared; required). |
|
string |
Period. (one of: daily, weekly, monthly; required). |
|
int |
Limit microcents. |
|
int |
Warn at microcents. |
|
Budget.notification_user_ids |
See Budget.notification_user_ids. (repeatable; replaces the full list on update). |
|
stringArray |
Tags. (repeatable key=value; replaces the full map on update). |
|
string |
manifest to create from (YAML or JSON; "-" for stdin); flags override file values. |
|
bool |
print the request that would be sent (with the computed update mask) and exit without calling the server. |
|
string |
positive USD amount with up to 8 decimal places; alternative to |
|
string |
positive USD amount with up to 8 decimal places; alternative to |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |