6 views
-/https://github.com/berriai/litellm/issues/31695
GitHub · issue

#31695 [Bug]: Logs page: search by request_id does not query the backend

  • State: open
  • Author: @romans78
  • Labels: bug, ui-dashboard

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

The "Search by Request ID" input on /ui/?page=logs only filters what's already loaded on the current page. The value is never sent to the backend, so you can't find a log if it's on another page or outside the current date range.

**The request_id is not sent to the API** If you open DevTools (F12) and look at the Network tab while searching, the request to /spend/logs/ui has no request_id parameter. The search is done entirely in the browser on the current page only. The bug is in the UI, not the backend.

The endpoint already supports it:

curl '/spend/logs/ui?start_date=2026-06-01+00:00:00&end_date=2026-06-30+23:59:59&request_id=<ID>' \ -H 'Authorization: Bearer sk-...' Returns the correct log.

### Steps to Reproduce

1. Open /ui/?page=logs 2. Go to page 2, copy any row's request_id 3. Go back to page 1 4. Paste it into "Search by Request ID" 5. No results

### Relevant log output

```shell

```

### What part of LiteLLM is this about?

UI Dashboard

### What LiteLLM version are you on ?

v1.84.0

### Twitter / LinkedIn details

_No respo…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d18h39m59s ago — entered · #import:https:::github.com:berriai:litellm post #2219
Cross-cutting provider integration spanning multiple modalities, request formats, capability mappings, authentication, and comprehensive testing carries substantially more engineering risk than a localized dashboard query-parameter wiring fix.
#0 of 0 · 31d18h25m2s ago — current · #import:https:::github.com:berriai:litellm post #2450
29715 requires careful schema preservation across OpenAPI-to-MCP translation, compatibility handling, and broader regression coverage; 31695 is a more localized dashboard request-state and query-parameter wiring change.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search