model_performance
Retrieve aggregated call metrics per model for the past 3 days, including success rate, average latency, and token usage. Filter by endpoint and sort by performance indicators.
Instructions
Return近3天 aggregated call metrics per model (background-updated).
Args: endpoint: limit to a single endpoint name. sort_by: one of call_count / success_count / avg_first_byte_ms / avg_prompt_tokens / avg_output_tokens. limit: max rows to return.
Each row includes call_count, success_count, success_rate, avg_first_byte_ms, avg_prompt_tokens, avg_output_tokens, window_days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sort_by | No | call_count | |
| endpoint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |