Keystone Developers
Open Keystone
API reference

System

Health

3 endpoints.

GET/api/health

Health

Service health check. Verifies DB connection before returning success.

Authentication

No credential.

Responses

200Successful Response
application/jsonHealthResponse
FieldTypeDescription
request_idrequiredstring
successtruedefault true
datarequiredapp__schemas__health__HealthData
app__schemas__health__HealthData fields
FieldTypeDescription
statusstringdefault "ok"
metadataResponseMetadata | null
ResponseMetadata fields
FieldTypeDescription
paginationPaginationMetadata | null
PaginationMetadata fields
FieldTypeDescription
limitrequiredinteger
next_cursorstring | null
prev_cursorstring | null
has_morerequiredboolean
has_prevbooleandefault false
total_countinteger | null
status_countsobject | null
object | null fields

Map of string to integer

lifecycle_countsLifecycleCounts | null
LifecycleCounts fields
FieldTypeDescription
allintegerdefault 0
leadintegerdefault 0
prospectintegerdefault 0
customerintegerdefault 0
former_customerintegerdefault 0
classification_countsClassificationCounts | null
ClassificationCounts fields
FieldTypeDescription
signalobject
object fields

Nested object (not expanded)

touchobject
object fields

Nested object (not expanded)

stageobject
object fields

Nested object (not expanded)

metaResponseMeta | null
ResponseMeta fields
FieldTypeDescription
totalinteger | null
total_countinteger | null
pageinteger | null
per_pageinteger | null
  • 400Bad request
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422Validation error
  • 500Internal server error
  • 503Service unavailable

Error bodies: ErrorResponse. See Errors.

GET/api/health/redis

Health Redis

Redis health check. Verifies Redis connection before returning success.

Authentication

No credential.

Responses

200Successful Response
application/jsonHealthResponse

HealthResponse, expanded above.

  • 400Bad request
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422Validation error
  • 500Internal server error
  • 503Service unavailable

Error bodies: ErrorResponse. See Errors.

GET/health

Health Root

Same behavior as ``GET /api/health``; path often used by load balancers and probes.

Authentication

No credential.

Responses

200Successful Response
application/jsonHealthResponse

HealthResponse, expanded above.

  • 400Bad request
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422Validation error
  • 500Internal server error
  • 503Service unavailable

Error bodies: ErrorResponse. See Errors.