analytics
Obtain analytics data for model endpoints, with metrics on request counts, latency averages and percentiles, and success/error rates.
Instructions
Get analytics data for model endpoints with time-bucketed metrics. Returns request counts, latency statistics (avg, p50, p95, p99), and success/error rates. Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_ids | Yes | Endpoint ID(s) to get analytics for (e.g., ['fal-ai/flux/dev']). Must provide at least 1, maximum 50 endpoint IDs. | |
| start | No | Start date in ISO8601 format (e.g., '2025-01-01T00:00:00Z' or '2025-01-01'). Defaults to 24 hours ago. | |
| end | No | End date in ISO8601 format (e.g., '2025-01-31T23:59:59Z' or '2025-01-31'). Defaults to current time. | |
| timezone | No | Timezone for date aggregation (e.g., 'UTC', 'America/New_York'). Defaults to 'UTC'. | UTC |
| timeframe | No | Time bucket size for aggregation. Auto-detected from date range if not specified. | |
| bound_to_timeframe | No | Whether to align start/end dates to timeframe boundaries. Defaults to true. | |
| metric | No | Optional: Filter to return only specific metric in response. | |
| cursor | No | Pagination cursor from previous response. | |
| limit | No | Maximum number of items to return. |