Skip to main content
GET
/
health
/
cache
Cache health
curl --request GET \
  --url https://api.us.babysea.ai/v1/health/cache \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "request_id": "<string>",
  "message": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "data": {
    "service": "redis",
    "healthy": true,
    "latency_ms": 123,
    "error": "<string>"
  }
}

Authorizations

Authorization
string
header
required

BabySea API key - prefix bye_ followed by a random string

Response

200 - application/json

Cache 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