## Use case Use case use REST APIs to get token counts, timings etc. associated with the request, but keep REST API stateless ## Solution Idea There could be a middle-ground API across all clients, including API clients pseudocode of /call_with_metrics implementation: ``` function b.with_stats.Any(...): c = Collector() r = b.Any(..., collector=c) return {result: r, stats: c.stats} ```