MCPcopy Index your code
hub / github.com/CommonstackAI/UncommonRoute / Health

Interface Health

frontend/dashboard/src/api.ts:1–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export 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
27export interface TierStats {
28 count: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected