GetCustomerRequestLogStats returns aggregated statistics over the calling user's request logs within the supplied tenancy scope.
Usage:
tare api insights logs stats [flags]
Flags:
--customer-id string Defaults to the caller's session customer_id / project_id when empty.
--dataplane-id string Optional filter restricting stats to logs served by this data plane (see RequestLog.dataplane_id).
--group-by string Dimension to group by: "model", "user", "api_key", "status", "dataplane", "usage_mode", "usage_source", "hour", "day".
--metric string Metric to compute: "count", "tokens", "cost", "latency", "errors".
--model-name string Optional filter restricting stats to a single model name.
--project-id string Project used to authorize the caller's access (membership check), to resolve session defaults, and to scope the aggregation: only the caller's logs recorded by API keys of the resolved (customer, project) are counted.
--usage-mode string Optional filter restricting stats to one billing mode: "managed", "byok" or "passthrough" (see group_by).
--usage-source string Optional filter restricting stats to one usage source: "actual", "partial" or "estimated" (see group_by).
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