Overview
The Dashboard API provides aggregated data for the web dashboard UI. All endpoints require dashboard authentication.These endpoints are used by the Codex-LB web interface. They return data optimized for dashboard display.
GET /api/dashboard/overview
Get dashboard overview statistics including account counts, usage summary, and recent activity.Authentication
Requires valid dashboard session cookie.Response
object
Account statistics by status
object
Usage statistics for the current billing period
integer
Total number of proxy requests in the last 24 hours
number
Percentage of failed requests (0-100)
Example Request
cURL
JavaScript
Python
Example Response
GET /api/models
Get a simplified list of available models for dashboard display.This endpoint returns a simplified model list. For full model metadata including capabilities and rate limits, use
/v1/models or /backend-api/codex/models.Authentication
Requires valid dashboard session cookie.Response
array
Array of available models
Example Request
cURL
Example Response
Use Cases
Dashboard Home Page
Display key metrics on the dashboard landing page:Model Selection Dropdown
Populate a model selector in API key creation forms:Error Codes
Related
- Dashboard Auth - Authentication for dashboard endpoints
- Accounts - Detailed account management
- Usage - Detailed usage statistics
- Models - Full model metadata endpoint