Skip to main content

Overview

The CLI provides full CRUD for spending policies. When you list policies, each one is tagged as [agent] (directly assigned) or [org-wide] (inherited from your organization).

Create a Policy

The interactive builder walks you through each step with descriptions:
You’ll be prompted for:
  1. Policy name. A descriptive label.
  2. Policy type. 14 types available, each with an explanation.
  3. Priority. Higher numbers are evaluated first. Use 0-100. Default is 50.
  4. Rules. Optionally add the first rule immediately.
  5. Assignment. Assign to the current agent or leave org-wide.

Policy Types

Add Rules

Add rules to an existing policy:
The rule builder prompts for:
  • Rule type: Context-aware options based on the policy type
  • Operator: <=, >=, in list, not in list, between, etc.
  • Value: With smart placeholders (dollar amounts for limits, JSON arrays for lists, country codes for geographic rules)
  • Action: Allow, Deny, or Require Approval

Value Examples by Rule Type

Update & Delete

Assign & Unassign

Control which policies apply to your agent:
Org-wide policies (tagged [org-wide]) cannot be unassigned, they apply to all agents in the organization. To remove them, either delete the policy or set it to inactive with conto policies update <id>.

List All Org Policies

To see every policy in the organization (not just your agent’s):
This shows the policy ID, agent count, rules, and active status for all policies.

JSON Output

All policy commands support --json: