Request Logs

View detailed records of all API requests processed by the proxy. Track request details, responses, errors, and performance metrics.

Overview

The Logs page provides:

  • Complete request history
  • Request details and responses
  • Error tracking
  • Performance metrics

Viewing Logs

Log List

Navigate to Logs from the sidebar to see:

ColumnDescription
TimestampWhen the request was made
MethodHTTP method (POST, GET)
PathAPI endpoint
StatusHTTP status code
DurationRequest processing time
ModelModel used
ProviderProvider used

Log Details

Click on any log entry to see:

  • Full request body
  • Response body
  • Headers
  • Error messages (if any)
  • Token usage

Filtering

By Time Range

  • Last hour
  • Last 24 hours
  • Last 7 days
  • Custom range

By Status

FilterDescription
Success (2xx)Successful requests
Client Error (4xx)Client-side errors
Server Error (5xx)Server-side errors

By Provider

Filter logs by specific provider.

By Model

Filter logs by specific model.

Searching

Search logs by:

  • Request content
  • Response content
  • Error messages
  • Model name

Log Levels

LevelDescription
InfoNormal operations
WarningPotential issues
ErrorFailed requests

Export

Export Options

  1. Click Export button
  2. Select format:
    • JSON
    • CSV
  3. Select time range
  4. Download the file

Statistics

Dashboard Metrics

The logs contribute to dashboard statistics:

  • Total requests
  • Success rate
  • Average response time
  • Token usage

Performance Analysis

Use logs to analyze:

  • Peak usage times
  • Slow endpoints
  • Error patterns
  • Provider reliability

Log Retention

Logs are automatically cleaned up based on retention settings:

SettingDefault
Retention Period7 days

Configure in Settings > General.

Troubleshooting

Common Errors

ErrorCauseSolution
401 UnauthorizedInvalid API keyCheck API key configuration
429 Too Many RequestsRate limit exceededAdd more accounts or reduce request rate
500 Internal ErrorProvider errorCheck provider status
503 Service UnavailableProvider offlineCheck provider connection

Debug Mode

Enable debug logging for more details:

  1. Go to Settings > General
  2. Set Log Level to Debug
  3. Reproduce the issue
  4. Check logs for detailed information

Debug mode generates more logs. Disable it after troubleshooting.

On this page