Skip to main content
GET
/
health
/
providers
Provider health
curl --request GET \
  --url https://api.us.babysea.ai/v1/health/providers \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "request_id": "<string>",
  "message": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "data": {
    "service": "providers",
    "healthy": true,
    "providers_total": 123,
    "providers": [
      {
        "provider": "<string>",
        "status": "healthy",
        "failure_rate": 123,
        "window": {
          "total_attempts": 123,
          "failures": 123,
          "successes": 123,
          "duration_seconds": 123
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

BabySea API key - prefix bye_ followed by a random string

Response

200 - application/json

Provider health data retrieved successfully

Response envelope

status
enum<string>
required

Always success

Available options:
success
request_id
string
required

Unique request identifier (UUID v4)

message
string
required

Success message

timestamp
string<date-time>
required

Response timestamp (ISO 8601)

data
object
required