GetEffectivePolicy resolves every BudgetPolicy applicable to a scope-target tuple down to the single clamp-winning policy.
Usage:
tare api policy effective [flags]
Flags:
--api-key-id string API key target.
--customer-id string Optional: customer (tenant) scope.
--group-id string Team target.
--project-id string Optional and, for scope_type = API_KEY, IGNORED: the server derives the key's project scope itself from the api_keys row identified by api_key_id (resolveApiKeyScope), the same way the dataplane's runtime policy resolvers scope a key's policies -- a caller-supplied project_id is never trusted for resolution.
--scope-type string Required: scope type of the target to resolve. (required)
--user-id string User target.
--view string Optional family view.
Global Flags:
--base-url string override the active profile's base URL for this invocation
-o, --output string output format: json (default "json")
-p, --profile string credential profile (overrides AGENTROUTER_PROFILE / active)
-q, --quiet Suppress progress output; only errors and the final summary go to stderr
-v, --verbose Verbose output: plain-mode progress lines plus full per-blob chunk logs to stderr