Get Cost Summary
metrx_get_cost_summaryRetrieve a comprehensive cost summary for your AI agent fleet. Get total spend, call counts, error rates, agent breakdown, revenue attribution, and optimization opportunities to understand agent economics.
Instructions
Get a comprehensive cost summary for your AI agent fleet. Returns total spend, call counts, error rates, agent breakdown, revenue attribution (if available), and optimization opportunities. Use this as the starting point for understanding your agent economics. Do NOT use for real-time per-request cost checking — use OpenTelemetry spans for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period_days | No | Number of days to include in the summary (default: 30) |