---
title: "ai.model-directory-entry@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/ai.model-directory-entry"
updated: null
---

# ai.model-directory-entry@1 · OpenVibe.Services

HTML: [ai.model-directory-entry@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/ai.model-directory-entry)

# AiModelDirectoryEntry `ai.model-directory-entry@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: ai
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/ai/model-directory-entry.v1.json`](/docs/contracts/ai.model-directory-entry.json)

ai.model-directory-entry@1: one public model, including provider-listed models with routing off and sourced pre-list sightings. Spotted never means available.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  | - `minLength 3`<br>- `maxLength 256` |
| `provider` | string | yes |  | - `minLength 1` |
| `provider_name` | string \| null |  |  |  |
| `model` | string | yes |  | - `minLength 1` |
| `name` | string | yes |  | - `minLength 1` |
| `family` | string \| null |  |  |  |
| `version` | string \| null |  |  |  |
| `status` | enum | yes |  | - `one of "available", "preview", "spotted", "retired"` |
| `routing_enabled` | boolean | yes |  |  |
| `context_window` | integer \| null |  |  | - `minimum 0` |
| `max_output` | integer \| null |  |  | - `minimum 0` |
| `type` | string |  |  |  |
| `modalities` | array of string |  |  |  |
| `price` | object |  |  |  |
| `price.input_per_million` | number \| null |  |  | - `minimum 0` |
| `price.output_per_million` | number \| null |  |  | - `minimum 0` |
| `price.cached_per_million` | number \| null |  |  | - `minimum 0` |
| `price.source` | string \| null |  |  | - `format uri` |
| `price.checked_at` | string \| null |  |  |  |
| `source` | string \| null |  |  | - `format uri` |
| `sources` | array of object |  |  |  |
| `sources[].url` | string | yes |  | - `format uri` |
| `sources[].observed_at` | string | yes |  |  |
| `sources[].published_at` | string |  |  |  |
| `first_seen_at` | string \| null |  |  |  |
| `updated_at` | string \| null |  |  |  |
| `retired_at` | string \| null |  |  |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: spotted

~~~~
{
  "id": "arena/anonymous-silver",
  "provider": "arena",
  "model": "anonymous-silver",
  "name": "anonymous-silver",
  "status": "spotted",
  "routing_enabled": false,
  "sources": [
    {
      "url": "https://lmarena.ai/leaderboard/text",
      "observed_at": "2026-11-11T00:00:00Z"
    }
  ]
}
~~~~

Rejected: spotted-routable

~~~~
{
  "id": "arena/anonymous-silver",
  "provider": "arena",
  "model": "anonymous-silver",
  "name": "anonymous-silver",
  "status": "spotted",
  "routing_enabled": true
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('ai.model-directory-entry@1', value);   // { valid, errors: [{ path, message }] }
~~~~
