BizKitHub
DocsAPI ReferenceIo T/bff/iot-lock/queue-stats
getIo TAdmin BFF

/bff/iot-lock/queue-stats

Aggregate counters over iot__ttlock_queue scoped to the caller organisation. Powers the small "API: 12 calls/min, 2 retry, 0 dead" widget in admin. Values are point-in-time; the queue itself is drained by the medium-priority cron worker processTTLockQueue.

IoTgetBffIot-lockQueue-stats

Parameters

No parameters required

This endpoint takes no path, query, header or body parameters.

Response schema

1 status code documented

200Success
depthnumberRequired

Unprocessed rows still eligible for retry (ttl > 0).

deadnumberRequired

Unprocessed rows that exhausted retries (ttl = 0). Manual action required.

calls24hnumberRequired

All queue rows inserted in the last 24 hours.

retries24hnumberRequired

Rows in the last 24 hours retried at least once.

errors24hnumberRequired

Rows in the last 24 hours with a non-null error_response.

Response example

application/json
{
  "depth": 0,
  "dead": 0,
  "calls24h": 0,
  "retries24h": 0,
  "errors24h": 0
}

Request example

GET /bff/iot-lock/queue-stats

get
curl -X GET "https://api.bizkithub.com/bff/iot-lock/queue-stats" \
  -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