Skip to content

Dashboard API authentication

The Dashboard API (api.amlexia.com) is separate from Ingest (ingest.amlexia.com).

APIAuthUsed by
Ingestsdk_key in JSON bodyYour app servers
DashboardClerk session JWTBrowser, custom admin tools

Clerk JWT

The web app sends:

http
Authorization: Bearer <clerk_session_token>

Obtain tokens via Clerk in your own app only if you build a custom dashboard — normal users use app.amlexia.com.

Organization context

Most routes require an active organization in Clerk. The API resolves:

  • User id from JWT
  • Org membership and role (owner, admin, member)
  • Project access within org

RBAC

RoleTypical access
ownerFull org + billing + member management
adminProjects, alerts, settings
memberRead dashboards, saved views

See Team & RBAC.

SDK key is NOT a dashboard token

Possessing am_... only allows ingest. It does not let someone log into the dashboard or call /api/*.

Health (no auth)

http
GET https://api.amlexia.com/health