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

#34461 [Feature]: `/v1/ocr` endpoint is not available in the Playground

  • State: open
  • Author: @shubham21155102
  • Labels: enhancement, ui-dashboard

### Check for existing issues

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

### The Feature

### Problem The LiteLLM Playground currently does not expose the `/v1/ocr` endpoint as an available endpoint type.

When using the Playground, searching for "ocr" under **Endpoint Type** returns no results, even though OCR is a supported API endpoint.

### Expected Behavior The Playground should list **/v1/ocr** as a supported endpoint type so users can:

- Test OCR requests directly from the Playground. - Upload images/documents and validate OCR responses without using external tools. - Keep the Playground feature-complete with the available API endpoints.

### Current Behavior The `/v1/ocr` endpoint is not available in the Endpoint Type dropdown, making it impossible to test OCR through the Playground UI.

### Suggested Solution Add `/v1/ocr` as a supported endpoint in the Playground and provide the corresponding UI for submitting OCR requests (image/document upload and request parameters), similar to how other endpoint types are supported.

### Motivation, pitch

I'm integrating and testing LiteLLM's OCR capabilities. While the API supports the…

GitHub resolver

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

Refresh page
vote history (1 events)
#0 of 0 · 31d18h48m28s ago — entered · #import:https:::github.com:berriai:litellm post #2378
The left requires cross-layer dashboard work, upload handling, request integration, and endpoint-specific validation; the right is comparatively localized to SDK exception definition, propagation, and tests.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search