tare/api/insights/logs/stats
tare api insights logs stats
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", "gateway", "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) and to resolve session defaults.
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