retrieve_image_analytics
This endpoint helps you get image analytics data like bandwidth consumption, request count, CDN hit ratio, etc.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "retrieve_image_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | ||
| metrics | No | Define the metric you need the data for. Supported values: `bandwidth_consumption`, `requests_count`, `transformations_count`, `bandwidth_savings`, `origin_hit_rate`, `avg_transformation_response_time`, `status_4xx`, `status_5xx`, `cdn_hit_rate`, `content_type`, `status_2xx`, `avg_response_time`, `top_assets`, `bandwidth_consumption_by_source`, and `ai_credit_usage`. | |
| group_by | No | daily | |
| date_range | No | The timeframe to get the data for. Currently we only support a maximum of 30 days between `start_at` and `end_at`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||