API Keys
Backend-only secret
Keep Hub API keys in your backend or server-side tooling only. Do not expose them in browser code, mobile apps, public repositories, or other client-side environments.
Create an API key
- Navigate to Team Settings
- Click the Create API Key button

Use a key from your backend
Authorization header with the Bearer prefix when your backend calls Luxonis Hub APIs.The most common pattern is:- Your customer-facing app authenticates to your own backend.
- Your backend stores the Hub API key securely.
- Your backend calls Hub APIs on behalf of your product workflow.
- Your frontend receives only the derived payload it needs.
Command Line
1curl -X POST https://api.cloud.luxonis.com/graphql \
2 -H "Authorization: Bearer tapi._R06IFhNCIZ_Sgj505i9Ow.ca_8I5JbY...r-coSA" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "query": "query { team { devices { nodes { id name } } } }"
6 }'team { ... } surface described in About GraphQL.Related docs
Integration Architecture
See the recommended customer frontend, customer backend, and Hub control-plane split.
About GraphQL
Build GraphQL requests against the public Hub control API.
Models API
Use the separate models API for advanced model registry and conversion automation.
Snaps in DepthAI
Send snaps and related data to Luxonis Hub from DepthAI applications.