Skip to main content
GET
/
metrics
/
connection-health
Connection counts broken down by health state
curl --request GET \
  --url https://api-sandbox.ledgersyncappv2.com/v3/metrics/connection-health \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "count": 1
    }
  ]
}

Authorizations

Authorization
string
header
required

Pass your secret key in the Authorization header as a Bearer token: Authorization: Bearer sk_test_... (sandbox) or Bearer sk_live_... (production).

Keys are created in the developer portal and the plaintext secret is shown exactly once at creation. Treat them like passwords — never embed them in mobile apps or front-end code.

Response

Health-state counts.

data
object[]
required