{"service":"JK Labs LLM Dashboard — public read-only API","dashboard":"https://llm-dashboard.3jk.net/","public_origin":"https://llm-dashboard.3jk.net","token_stats":{"path":"/public/token-stats","url":"https://llm-dashboard.3jk.net/public/token-stats","examples":["https://llm-dashboard.3jk.net/public/token-stats","https://llm-dashboard.3jk.net/public/token-stats?granularity=month&date=20260330"],"params":{"date":{"required":false,"format":"YYYYMMDD","hint":"Optional anchor. Omit = newest date with metrics; if the DB is empty, uses today."},"granularity":{"required":false,"default":"all","values":["hour","day","week","month","all"],"hint":"Default all. If not all, the response includes an extra 'stats' block for that view."}},"response":{"index":"dates[], date_count, anchor_date, calendar_today (server local YYYYMMDD)","today":"Token totals for calendar_today, last_metric_ts, has_data","performance":"prompt_eval_tok_per_s / generation_tok_per_s (avg/min/max, sample_count) from SQLite for calendar_today","llm":"model_display, model_path, source (debug.log preferred, else stdout startup scan) for calendar_today","llm_for_anchor_date":"Same as llm but for anchor_date when anchor_date != calendar_today","response_generated_at":"Unix time when this JSON was built","all_time":"Global summary + monthly buckets (same as granularity=all).","stats":"Only when granularity is not all."}}}