/**
 * Generated by orval v8.3.0 🍺
 * Do not edit manually.
 * Mission Control API
 * OpenAPI spec version: 0.1.0
 */
import type { RequestWindowRead } from "./requestWindowRead";
import type { SubscriptionWindowRead } from "./subscriptionWindowRead";
import type { TokenWindowRead } from "./tokenWindowRead";

/**
 * Real-time token usage and rate limit data fetched directly from the provider API.
 */
export interface ProviderUsageLiveRead {
  provider: string;
  account_key: string;
  checked_at: string;
  reachable: boolean;
  source: string;
  confidence: string;
  error?: string | null;
  tokens: TokenWindowRead;
  input_tokens: TokenWindowRead;
  output_tokens: TokenWindowRead;
  requests: RequestWindowRead;
  subscription_windows: SubscriptionWindowRead[];
  subscription_plan?: string | null;
  models?: string[];
  sample_model?: string | null;
  sample_input_tokens?: number | null;
  sample_output_tokens?: number | null;
  sample_latency_ms?: number | null;
  debug_rate_limit_headers?: string[] | null;
}
