BizKitHub
DocsAPI ReferenceIo T/bff/iot-lock/lock-reliability-detail
getIo TAdmin BFF

/bff/iot-lock/lock-reliability-detail

Returns aggregated reliability metrics for a single lock scoped to the requested window (7/30/90 days). Includes 30-day (or windowed) uptime %, current outage state, outage episodes, per-day availability bars, longest outage, MTBF, MTTR, battery time-series and organisation-wide TTLock API hourly load for the last 24 h. Powers the Reliability tab of the lock detail page in admin.

IoTgetBffIot-lockLock-reliability-detail

Parameters

2 query

Query parameters

· 2
lockIdstringRequired

TTLock lock ID (from TTLock API).

Example12345
windowDaysstringOptional

Reliability window in days — one of 7, 30, 90. Defaults to 30.

Example30

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

GET /bff/iot-lock/lock-reliability-detail

get
curl -X GET "https://api.bizkithub.com/bff/iot-lock/lock-reliability-detail?lockId=12345&windowDays=30" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key