← Back to list

domino-model-endpoints
by jvdomino
A comprehensive Claude Code plugin providing coverage of the Domino Data Lab platform for AI-assisted development.
⭐ 1🍴 1📅 Jan 16, 2026
SKILL.md
name: domino-model-endpoints description: Deploy and monitor model API endpoints in Domino. Covers creating prediction endpoints, version management, Grafana dashboards for latency/errors/resources, alerting, and GPU inference with NVIDIA Triton. Use when deploying models as APIs, monitoring production endpoints, or debugging endpoint issues.
Domino Model Endpoints Skill
This skill provides comprehensive knowledge for deploying and monitoring model API endpoints in Domino Data Lab.
Key Concepts
Model Endpoints Overview
Domino Model Endpoints provide:
- REST API for model predictions
- Automatic scaling and load balancing
- Version management
- Built-in monitoring with Grafana
- Authentication via API tokens
Endpoint Lifecycle
Train Model → Register → Deploy Endpoint → Monitor → Update Version
Related Documentation
- DEPLOY-ENDPOINT.md - Creating model APIs
- MONITORING.md - Grafana, metrics, alerts
- SCALING.md - GPU inference, Triton, scaling
Environment Requirements
Important: Model APIs use the default environment set for your project. The environment must have the uwsgi Python package installed for model endpoints to work.
Required Package
# Add to your environment's Dockerfile instructions
RUN pip install uwsgi
Or in requirements.txt:
uwsgi
Setting Default Environment
- Go to Project Settings → Execution Preferences
- Set the Default Environment that includes
uwsgi - This environment will be used for all Model API deployments
Quick Start
1. Create Endpoint Function
# model.py
def predict(features):
"""
Domino calls this function for predictions.
Args:
features: Input data (dict, list, or primitive)
Returns:
JSON-serializable prediction result
"""
import pickle
# Load model (cached after first call)
with open('model.pkl', 'rb') as f:
model = pickle.load(f)
prediction = model.predict([features])
return {"prediction": prediction.tolist()}
2. Deploy via Domino UI
- Go to Publish → Model APIs
- Click New Model
- Configure:
- Name:
my-classifier - File:
model.py - Function:
predict - Environment: Select compute environment
- Name:
- Click Publish
3. Call the Endpoint
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"data": {"features": [1.0, 2.0, 3.0]}}' \
https://your-domino.com/models/abc123/latest/model
Environment Variables
When calling endpoints from apps:
| Variable | Description |
|---|---|
MODEL_API_URL | Full endpoint URL |
MODEL_API_TOKEN | Bearer token for authentication |
Key Metrics to Monitor
| Metric | Target |
|---|---|
| Latency P50 | < 100ms |
| Latency P99 | < 500ms |
| Error Rate | < 1% |
| CPU Usage | < 80% |
| Memory | Stable (no growth) |
Documentation Links
- Domino Model APIs: https://docs.dominodatalab.com/en/latest/user_guide/8dbc91/model-apis/
Score
Total Score
70/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon