Unbind
Replicas

Get Replica (Pod) Health

Get the aggregated health/status of a service's replicas (pods).

GET
/replicas/health

Get the aggregated health/status of a service's replicas (pods).

Authorization

bearerAuth
AuthorizationBearer <token>

Access token or API key (unb_...) passed as Authorization: Bearer <token>.

In: header

Query Parameters

team_id*string
Formatuuid
project_id*string
Formatuuid
environment_id*string
Formatuuid
service_id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/replicas/health?team_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&project_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&environment_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&service_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "data": {    "expected_replicas": 0,    "health": "pending",    "replicas": [      {        "events": [          {            "count": 0,            "first_seen": "string",            "last_seen": "string",            "message": "string",            "reason": "string",            "timestamp": "string",            "type": "oom_killed"          }        ],        "kubernetes_name": "string",        "pod_created_at": "2019-08-24T14:15:22Z",        "restart_count": 0,        "status": "running"      }    ]  }}