Skip to main content
GET
/
openai
/
status
{
  "status": "<string>",
  "services": {
    "completions_api": {
      "status": "<string>",
      "response_time_ms": 123,
      "last_checked": {}
    },
    "embeddings_api": {}
  },
  "rate_limits": {
    "requests_remaining": 123,
    "tokens_remaining": 123,
    "reset_time": {}
  },
  "usage_stats": {
    "requests_last_hour": 123,
    "tokens_used_today": 123,
    "average_response_time": 123
  },
  "health_indicators": [
    {
      "indicator": "<string>",
      "status": "<string>",
      "message": "<string>"
    }
  ],
  "last_updated": {}
}

Overview

Checks the connectivity and status of OpenAI services integrated with the Judge API. This endpoint helps diagnose integration issues and monitor service availability.

Response

status
string
required
Overall OpenAI service status
  • operational - All services working normally
  • degraded - Some services experiencing issues
  • outage - Major service disruption
  • maintenance - Scheduled maintenance
services
object
required
Status of individual OpenAI services
rate_limits
object
required
Current rate limit status
usage_stats
object
required
Recent usage statistics
health_indicators
array
Health indicators and potential issues
last_updated
datetime
required
When status information was last updated

Examples

curl -X GET https://api.judge.example.com/openai/status \
  -H "Authorization: Bearer YOUR_API_KEY"
curl -X GET https://api.judge.example.com/openai/status \
  -H "Authorization: Bearer YOUR_API_KEY"