[SDK reference](../../index.md) / [Models](../index.md) / [Ai](index.md)

# AiModel

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Ai`  

Immutable model or LoRA adapter artefact registered by `@sha256:` digest (ADR-1005, ADR-1007).Unsigned, mutable-tag, or pickle-serialised (`.pkl`, `.pt`, `.bin`) artefacts are refused at admission.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Ai.AiModel_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `ArtefactRef` | `string?` | `artefactRef` | Immutable content-addressed artefact reference (`name@sha256:<64 hex>`). |
| `BaseModelDigest` | `string?` | `baseModelDigest` | Digest of the base model when `kind` is `adapter`. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `Digest` | `string?` | `digest` | Extracted immutable `sha256:<64 hex>` digest. |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `FilePaths` | `List<string>?` | `filePaths` | Artefact file paths validated against pickle-format prohibition (`.safetensors`, `.gguf`, `.json`, `.tiktoken`). |
| `Format` | `string?` | `format` | Safe serialisation format: `gguf` \| `safetensors` \| `onnx`. |
| `HasVerifiedSignature` | `bool?` | `hasVerifiedSignature` | Whether the artefact carries a verified Cosign / provenance signature (default `true` when verified; `false` is refused). |
| `Kind` | `string?` | `kind` | `base` \| `adapter` (LoRA/QLoRA adapter pinned to `baseModelDigest`). |
| `Labels` | `Models.Ai.AiModel_labels?` | `labels` | At most 64. |
| `Modality` | `string?` | `modality` | Modality (`text` \| `embeddings` \| `rerank`); generative media (`image`, `video`, `voice-cloning`) is refused with `modality-not-available`. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `ParameterCountBillions` | `double?` | `parameterCountBillions` | Approximate parameter count in billions. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `SourceTrainingJob` | `string?` | `sourceTrainingJob` | Canonical resource name of the `ai.TrainingJob` that produced this artefact, if any. |
| `SpdxLicence` | `string?` | `spdxLicence` | SPDX licence identifier (`Apache-2.0`, `MIT`, `Llama-3.1`, …). |
| `State` | `Models.Ai.AiModelState?` | `state` | Model registry artefact lifecycle states (ADR-1005). |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
