Model Registry

Discover, search, and manage your deployed models with ViewAI's Model Registry.

Overview

The Model Registry provides comprehensive capabilities for:

  • Listing and discovering deployed models

  • Searching and filtering models by various criteria

  • Comparing models side-by-side

  • Analyzing model metadata and statistics

  • Managing model lifecycle

  • Tracking deployment history

ModelRegistry Service

The ModelRegistry service provides centralized model management capabilities.

Initialization

from viewai_client import ViewAIClient

# Initialize client (registry is included)
client = ViewAIClient(api_key="your-api-key")

# Access model registry
registry = client.registry

Listing Models

List All Models

Get a complete list of deployed models:

Filtered Listing

Filter models by workspace or project:

Searching Models

Search by Name

Find models by name pattern:

Search by Tags

Filter models by tags:

Search by Date

Find models created within a date range:

Combine multiple search criteria:

Getting Model Details

Get Model by ID

Retrieve a specific model:

Get Model Metadata

Retrieve comprehensive model metadata:

Model Comparison

Compare Multiple Models

Compare models side-by-side:

Find Similar Models

Find models with the same target variable:

Model Analytics

Get Model Statistics

Analyze your model inventory:

Get Model Summary

Get a comprehensive summary:

Version Management

List Model Versions

Track different versions of a model:

Get Deployment History

Track model deployments over time:

Helper Functions

Find Models by Name Pattern

Find Recent Models

Find Pretrained Models

Find Workspace Models

Find Documented Models

Find Starred Models

Model Lifecycle

Get Model by Name

List Model Names

List Target Variables

Delete Model

Advanced Use Cases

Model Discovery Workflow

Model Comparison Report

Model Inventory Audit

Model Health Dashboard

Complete Example

Best Practices

1

Regular Audits

Audit your model inventory regularly.

2

Documentation

Always add descriptions to deployed models.

3

Tagging

Use a consistent tagging strategy for organization.

4

Version Tracking

Track model versions for reproducibility.

5

Cleanup

Archive or delete outdated models.

6

Monitoring

Monitor deployment frequency and patterns.

7

Comparison

Compare models before promoting to production.

8

Metadata

Maintain comprehensive metadata for all models.

9

Use tags and naming conventions for easy discovery.

10

Reporting

Generate regular inventory reports.

Troubleshooting

No Models Found

Search Returns Empty

Model Not Found by ID

Next Steps

  • Learn about Version Management

  • Explore Performance Optimization

  • Review Best Practices

Was this helpful?