Platform API

The operator API behind the LynBro console: tenants, usage, audit and read-only support sessions. Not for tenant integrations.

The Platform API is for LynBro's own operator console. It is not reachable with tenant keys and answers 404 outside LynBro's networks. It is documented here so customers know what the operator can and can't do.

Endpoints#

EndpointPurpose
GET /platform/v1/summaryCounts across tenants: tenants, users, records, events.
GET /platform/v1/tenants, GET /platform/v1/tenants/{ref}Tenants with plan, seats, activity.
GET /platform/v1/auditPlatform audit log (platform.*).
POST /platform/v1/tenants/{ref}/impersonateOne-time code (2 min) for a read-only support session of at most 30 minutes.
POST …/suspend, POST …/resumeSuspend or resume a tenant.

Guarantees for tenants#

  • A support session can't write: it is blocked twice, in the web layer and with a read-only database transaction. The tenant sees a banner while it lasts.
  • Every operator action is in the audit log with the operator, time and reason.
  • Operator tokens are stored as SHA-256 only; ten failed attempts from one address within 10 minutes lock it out (429).