Integration Architecture
Canonical architecture
- Customer users authenticate to your product.
- Your frontend calls your backend.
- Your backend calls Luxonis Hub APIs and browser-session bootstrap operations.
- Your frontend receives only the derived payload it needs for rendering, control, or device sessions.
- Customer auth stays between your users, your frontend, and your backend.
- Hub API keys stay in your backend or server-side tooling only.
- The browser should never receive a Hub API key.
Typical integration flow
- A user opens your customer portal or internal operations UI.
- Your frontend requests device state, app state, or session access from your backend.
- Your backend calls Luxonis Hub GraphQL and, when needed, session-bootstrap operations.
- Your backend returns only the application data or connection payload your frontend needs.
- Your frontend renders the result or opens the remote session.
Public API split
- GraphQL control API for devices, apps, snaps, control-plane reads, mutations, and browser-session bootstrap.
- REST models API for advanced model registry and conversion automation.
team { ... } surface.Browser session bootstrap
requestDeviceWebrtcConfigfor device sessions such as Web Terminal and live logsrequestDeviceAppConnectionfor app and visualizer sessions throughoak-webrtc
Frontend rendering guidance
- live video
- detections and overlays
- richer outputs such as point clouds
Current product boundaries
- Hub API keys are full-access team secrets today.
- Use the official GraphQL guides and reference pages together with schema inspection.
- Webhooks are not yet a broad stable public integration surface.
- Manifest-based rollout and large-scale deployment orchestration are not available today.
- Self-hosted host operating systems remain customer-managed.
Next steps
About GraphQL
Understand the public team { ... } request shape used for control-plane integrations.
Streaming and Visualizer
Use the recommended backend-mediated bootstrap flow for browser sessions and customer portals.
Device Management
Start with the public read path for listing and inspecting devices.
Models API
Use the separate models API for advanced model registry and conversion automation.