> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiddler.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ModelCompact

> Lightweight model representation for listing and basic operations.

A minimal model object containing only essential identifiers. Used by
Model.list() to efficiently return model information without fetching
full schema and configuration details.

## Example

```python theme={null}
# Get from listing
models = list(Model.list(project_id=project.id))
compact_model = models[0]

# Access basic info
print(f"Model: {compact_model.name} v{compact_model.version}")
print(f"ID: {compact_model.id}")

# Fetch full details when needed
full_model = compact_model.fetch()
print(f"Task: {full_model.task}")
print(f"Schema: {len(full_model.schema.columns)} columns")
```

## Attributes

**id** `UUID`

Unique identifier (UUID) of the model.

**name** `str`

Name of the model within the project.

**version** `str | None` (default: None)

Model version name; `None` for the default version.

## fetch()

Fetch the complete Model instance.

Retrieves the full Model object with all schema, spec, and configuration
details from the Fiddler platform using this compact model's ID.

### Returns

Complete model instance with all details and capabilities.

### Example

```python theme={null}
# From model listing
compact = next(Model.list(project_id=project.id))

# Get full model details
full_model = compact.fetch()

# Now can access full functionality
full_model.publish(source=data)
print(f"Input columns: {full_model.spec.inputs}")
```
