| 1 | export interface Health { |
| 2 | status: string; |
| 3 | version: string; |
| 4 | upstream: string; |
| 5 | connections?: ConnectionState; |
| 6 | spending: { |
| 7 | limits: Record<string, number>; |
| 8 | spent: Record<string, number>; |
| 9 | remaining: Record<string, number>; |
| 10 | calls: number; |
| 11 | }; |
| 12 | providers: { count: number; names: string[]; keyed_models: string[] }; |
| 13 | model_mapper: { |
| 14 | provider: string; |
| 15 | is_gateway: boolean; |
| 16 | discovered: boolean; |
| 17 | upstream_models: number; |
| 18 | pool_size: number; |
| 19 | unresolved: string[]; |
| 20 | pricing_source: string; |
| 21 | }; |
| 22 | stats: { total_requests: number }; |
| 23 | feedback: { pending: number; total_updates: number; online_model: boolean }; |
| 24 | routing_config?: { source: string; editable: boolean; default_mode: string }; |
| 25 | } |
| 26 | |
| 27 | export interface TierStats { |
| 28 | count: number; |
nothing calls this directly
no outgoing calls
no test coverage detected