Deep health check (probes dependencies and resources)

Browse registered social-data routes across platforms, then dive into detailed reference docs

API DocshealthDataDeep health check (probes dependencies and resources)

Deep health check (probes dependencies and resources)

What this API is for

  • Deep health check: probes MySQL / Redis connectivity and latency, event-loop
    • blockage stats, DB pool occupancy, process memory and file descriptors.
  • Useful for spotting "half-dead" nodes (process alive but dependencies failing
    • or the event loop blocked)
GET/openapi/api/v1/health/deep

Price:Price unavailable · Actual charges depend on free quota and account discounts

Authentication

All API requests require a Bearer project token in the Authorization header

Authorization headerAuthorization: Bearer YOUR_API_TOKEN

Request parameters

NameLocation / typeRequiredNotesExample
AuthorizationheaderYes
  • Project token passed as `Bearer sdc_xxx`.
Bearer sdc_your_project_token

Request examples

curl -X GET "https://api.trmesh.com/openapi/api/v1/health/deep" \
  -H "Authorization: Bearer sdc_your_project_token" \
  -H "Accept: application/json"

Response fields

FieldTypeNotesExample
statusunknown
  • ok 或 degraded(任一关键依赖异常或事件循环当前被阻塞)。
checks.event_loopunknown
  • 事件循环卡顿统计(当前延迟、阻塞次数、最长阻塞)。
checks.db_poolunknown
  • 数据库连接池占用。
checks.processunknown
  • 进程内存(MB)、线程数、文件描述符数量。

Errors and limits

The docs cover not only success responses, but also auth failures, rate limits, and data-service errors

CodeMeaningNotes
200SuccessThe request completed and returned the standard response envelope.
401UnauthorizedThe token is missing, invalid, or no longer active.
429Rate limitedThe request exceeded token, user, or plan-level throughput limits.
502Service unavailableThe gateway could not obtain a healthy result. Retry in a moment.
Next steps

New to the API? Read the guide or explore examples