Back to Create an LLM key7 min read
Request logs, tracing, and leaderboards
Monitor live and historical calls in Request Logs, filter by Session ID, IP geolocation, and quick filters, inspect routing retries, overrides, and client access rejections in the decision chain and trace view, verify list prices at settlement, and analyze usage across five leaderboards.
Every API call routed through the CCHP gateway is recorded in Call Records in the sidebar (labeled Usage Records in platform and organization admins’ sidebars, route /app/logs). Combining single-request Request detail, full-screen Tracing, and five-dimensional Leaderboards, members can verify their spend and troubleshoot client errors while admins can pinpoint upstream faults, routing decisions, and cost distribution.
Browse and filter request logs#
Open Request Logs to view calls in reverse chronological order for the selected time range, with live auto-refresh and in-progress request visibility v1.0.9+ (requests appear at the top of the table while still streaming and update in place with final status and cost once finished).
Request Logs: time range, quick filters, GeoIP column, and custom column settings
CCHP
Default columns and quick interactions v1.0.16+#
- Default columns: Time, Model (when a request includes a reasoning effort, its canonical English level is shown directly below the model name instead of in a separate column), Client (shows the detected client name and built-in official icon), Provider (visible to admins; its tooltip also shows the request’s Billing group), User (visible to admins), Tokens, Performance, Cost (animated numeric transitions), and Status.
- Optional columns: Click Columns in the toolbar to turn on Key, Session (shows the client-supplied session ID, or the gateway’s session
cchp_idwhen none was sent), IP (hidden by default; when enabled, shows country flag, location, and proxy indicator, and clicking opens the IP detail drawer v1.0.15+), and Usage (non-token billing units such as image counts, audio duration, or characters). Your personal column layout is saved automatically. - In-progress requests and quick actions: Click a Model cell to copy the model name; click the Time at the start of a row (or select a row and press
Enter) to open the Request detail drawer—in-progress and unsettled request rows can also be clicked directly, and the drawer live-syncs server state until the request finishes and loads the full decision chain and billing breakdown. The request-body upload stage uses a subtle progress animation, and high-throughput row entry animations (sustained 10 RPS) are tuned to stay smooth and readable. - Hide probe and empty-model noise by default: The table hides both unmatched
GET 404([10002]) probe requests and requests without a model across rows, counts, CSV exports, and live updates. Both can be turned on under Filter → More conditions via Include unmatched GET 404 requests and Include requests without a model (they are also included automatically when searching by keyword, Request ID, or status404; turning on unmatched GET visibility also exempts GET 404 rows from empty-model filtering). - Dashboard usage trend split: In the Usage trend card on the console dashboard, Show split (splitting cached and uncached tokens; off shows only the total) is now located inside the Widget settings menu in the top-right corner of the card.
Quick filters and multi-dimensional filters#
One-click quick filter pills appear below the toolbar: Failed, Retried across providers, Slow (total duration ≥ 30 seconds), Protocol converted (inbound and outbound protocols differ), Privacy filter (matched a privacy rule), Prompt cache hit, and Response cache hit (cache hits are not billed).
Click Filter to open advanced filters and combine Include / Exclude conditions across:
- Identity: User, Key
- Routing: Model, Provider, Provider key, Endpoint, Inbound protocol
- Result and latency: Status code, error class, minimum total duration, minimum TTFT, response cache status
- Exact IDs and source: Session ID v1.0.13+ (matches client session IDs or gateway
cch_sid_*to follow and export an entire conversation), IP address, Task ID, Batch ID, and Request source (client request / batch submission / internal task execution).
Permission boundaries and CSV export#
Request logs strictly enforce organization and role data isolation v1.0.9+:
- Regular members see only their own call records and never see upstream provider or provider key details.
- Team admins see call records for members of the teams (and sub-teams) they manage.
- Organization admins see records across the entire organization, can filter by provider key, and receive four extra columns when exporting CSV (
provider_key_id,adjusted_cost_units,supplier_cost_units, andplatform_cost_units; divide by 10¹⁰ for USD). - If an organization owner turns off “Organization administrators can view members’ request content” v1.0.15+, organization admins can still view request metadata and billing breakdowns, but cannot view or export members’ request bodies, response bodies, or conversation text.
Request details, decision chain, and tracing#
Click the Time at the start of any row to open the Request detail drawer on the right (with Overview, Decision chain, and Performance tabs). Click the full trace link in the drawer (or visit /app/logs/<requestId>/trace) to open the full-screen Tracing view.
Tracing: Decisions & conversion tab showing routing, attempts, and protocol conversion
CCHP
Pinpoint routing and failures with the decision chain#
The full-screen trace view provides four tabs—Conversation, Request, Response, and Decisions & conversion—along with one-click Download raw and Download full bundle. Focus on Decision chain / Decisions & conversion when troubleshooting:
- Client access and admission: Shows the detected client ID, caller-chain verdict, and any provider groups or candidates excluded by Client access control v1.0.15+.
- Candidate planning and exclusions: Lists how candidate keys were ordered and why each excluded candidate was skipped (such as insufficient quota, cooldown, unsupported protocol, model not in whitelist, or content safety threshold).
- Per-attempt cards: Displays every upstream attempt during failover or hedging in order, including HTTP status code, error code, sanitized upstream raw error response (up to
16 KiBpreserved v1.0.15+), and anomaly badges (such asEMPTY_OUTPUTwhen chat generation returned empty output and triggered failover v1.0.15+,20020for content safety blocks, and gateway codes such as20023). - Endpoint autocorrection, overrides, and privacy filter: Lists the original URL before automatic correction (
detector.endpoint_autocorrect), every Request and response overrides rule matched or skipped across inbound/upstream/response phases, and Privacy filter match counts, restoration counts, and retention modes. - Performance and upload phase timing v1.0.11+: The Performance tab breaks down request upload read, queue wait, upstream connect, time to first byte (TTFB), time to first token (TTFT), and streaming output rate (TPS). When the reasoning effort sent upstream differs from what the client requested, Reasoning effort sent upstream is also displayed v1.0.13+.
Verify cost breakdowns and list prices at settlement v1.0.15+#
On the Overview tab (Billing in the member view) of Request detail, the Cost breakdown card shows exactly how the charge was calculated:
- Billable items and base costs: Lists input, output, cache read, cache write, image/audio/container charges, and the base cost of each item.
- List prices at settlement v1.0.15+: Shows the standard unit prices used at settlement time (before pricing-tier and billing multipliers) along with the price entry metadata (Priced model, Model ID, Vendor, Model catalog, Pricing tier, and Price snapshot). These values are frozen at settlement so future price table updates never alter historical records.
- Multipliers and settlement split: Lists every billing multiplier other than
1.00, the Effective multiplier, Total cost, and the split between From balance and Covered by packages.
Request detail: cost breakdown, multipliers, and list prices at settlement
CCHP
Multi-dimensional leaderboards#
Open Leaderboards in the sidebar to aggregate usage and spend across five dimensions for any period (today, yesterday, this week, last week, this month, last 7/30 days, or a custom range), with export and one-click links to the matching request logs:
- Models leaderboard (
/app/leaderboard/models): Aggregates request counts, spend, average success rate, average cache ratio, token breakdown, and average TTFT by normalized model name (ignoring case and separators by default v1.0.15+). - Users leaderboard (
/app/leaderboard/users), Teams leaderboard (/app/leaderboard/teams), Organizations leaderboard (/app/leaderboard/orgs), and Providers leaderboard (/app/leaderboard/providers): Available to team, organization, or platform admins according to their scope. - Cost basis switcher: Admins can toggle between User billing (amount billed to users) and Supplier cost (actual upstream cost computed from provider top-up, key cost, and endpoint multipliers—including failed or lost-hedge attempts that the upstream still billed), and expand any row inline by Model or Key.
Models leaderboard: time range picker, user/supplier cost basis, and cache ratio
CCHP
Frequently asked questions#
Why can’t I find the GET 404 test request I just sent in Request Logs?#
Request logs hide unmatched GET 404 ([10002]) requests by default. Open Filter and check Include unmatched GET 404 requests, or filter directly by status code 404.
The gateway returned a generic error—how do I see the upstream provider’s raw error?#
To avoid leaking internal infrastructure details, the gateway returns a sanitized standard error body to clients. Copy the X-Request-Id response header or request_id from the error body, search for it in Request Logs, and open Decision chain (visible to organization admins); each attempt card preserves the sanitized upstream raw error response.
Why does a log show “Rate limit source: Gateway quota” instead of “Upstream rate limit”?#
When a request hits an RPM, concurrency, or spend limit on a key, user, team, or organization before reaching an upstream (HTTP 429), Rate limit source displays Gateway quota and identifies the exact level, metric, window start, and reset time—making it easy to distinguish from an upstream provider’s own 429 rate limit.