Applies to:
project_logs() function with multiple project IDs. Since summary shape only supports single projects, use span-level queries with manual aggregation or run separate queries per project.
Configuration Steps
Step 1: Query Multiple Projects Using Span Shape
Pass multiple project IDs toproject_logs() and filter for LLM spans to get token metrics.
Step 2: Calculate Costs From Token Metrics
Apply per-model pricing to the aggregated token counts sinceestimated_cost is only available in summary shape.