Required permission
Project > Services > General > Read
Path parameters
projectId
string requiredID of the projectserviceId
string requiredID of the service
Query parameters
duration
integerendTime
string
Response body
- {object}Response object.
data
{object} requiredResult data.observedAt
string | nullwindow
{object}start
string | nullend
string | nullbyoc
booleancurrent
{object}containers
[array]- {object}
name
stringstatus
stringterminated
booleandeploymentId
stringbuildId
string | nullrunId
string | nullnodeName
string | nullnodePool
string | nullnodePoolUserId
string | nullnodePoolProviderId
string | nullcreatedAt
numberupdatedAt
numberrestartCount
numberlastFailure
string | nulllastExitCode
number | nulllastFailureReason
string | nulleviction
{object}message
string | nulllastFailure
string | nullcontainerReason
string | nullconditions
[array]- {object}
type
string | nullstatus
string | nullreason
string | nullmessage
string | nulllastTransitionTime
string | nulllastProbeTime
string | nullprobes
[array]- {object}
kind
stringstate
string | nulltimestamp
string | nulltype
string | nulllatency
number | nullhttpStatus
numberexitCode
number | nullhistory
[array]- {object}
status
string | nulltimestamp
string | nullhasMore
booleanrecent
{object}containers
[array]- {object}
name
stringstatus
stringterminated
booleandeploymentId
stringbuildId
string | nullrunId
string | nullnodeName
string | nullnodePool
string | nullnodePoolUserId
string | nullnodePoolProviderId
string | nullcreatedAt
numberupdatedAt
numberrestartCount
numberlastFailure
string | nulllastExitCode
number | nulllastFailureReason
string | nulleviction
{object}message
string | nulllastFailure
string | nullcontainerReason
string | nullconditions
[array]- {object}
type
string | nullstatus
string | nullreason
string | nullmessage
string | nulllastTransitionTime
string | nulllastProbeTime
string | nullprobes
[array]- {object}
kind
stringstate
string | nulltimestamp
string | nulltype
string | nulllatency
number | nullhttpStatus
numberexitCode
number | nullhistory
[array]- {object}
status
string | nulltimestamp
string | nullhasMore
boolean
GET /v1/projects/{projectId}/services/{serviceId}/health
GET /v1/teams/{teamId}/projects/{projectId}/services/{serviceId}/health
Example response
200 OK
JSON