ML deployment
Time to complete: ~5 minutes
What you'll accomplish: Generate an API key and get integration details for a trained model.
Before you start
- Model training complete (not pending in Training queue)
- Signed in; model visible under Machine Learning in sidebar or at
/ml/{id}
Steps
1. Open your model
- Sidebar → Machine Learning → click your model name (or open from Training queue).
- You are on
/ml/{model-id}with metrics and tabs.
2. Save to inventory (if prompted)
After training completes, click Save Model if the wizard prompts you — adds the model to your inventory list.
3. Generate API key
- At the top of the model page, click Generate API key.
- Copy the key immediately — it cannot be retrieved later.
Save your API key
If you lose it, regenerate a new key. Old keys stop working when rotated.
4. Get integration details
- Open the API Integration tab on the same page.
- Copy the predict endpoint URL, headers, and sample payloads.
Test from the app
Use the in-app predict/test UI on the model page. Calls appear in the Usage section with channel Heimdall UI.
Monitor after deploy
| What | Where |
|---|---|
| Account-wide charts | Sidebar → Usage → Data Intelligence |
| This model's request log | Model page → Usage section |
| Platform outages | /health |
→ ML monitoring · Production monitoring
Common mistakes
| Mistake | Fix |
|---|---|
| No API key button | Training may still be pending — check Training queue |
| 401 from your app | Use model-specific key, not unstructured Read/Vision key |
| No usage data | Deploy key first; external calls need the key in headers |
Next steps
- API integration guide
- Production best practices
- User journeys — full path from CSV to here