---
title: "platform.capacity-snapshot@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/platform.capacity-snapshot"
updated: null
---

# platform.capacity-snapshot@1 · OpenVibe.Services

HTML: [platform.capacity-snapshot@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/platform.capacity-snapshot)

# CapacitySnapshot `platform.capacity-snapshot@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: network
- Visibility: first-party
- Status: active
- Compatibility: backward
- Decision: [ADR-034](/docs/adr/ADR-034)
- Schema: [`https://openvibe.network/contracts/platform/capacity-snapshot.v1.json`](/docs/contracts/platform.capacity-snapshot.json)

A node's reported capacity at one moment, sent by its Host agent (roadmap WS-Z9 task 1).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `node_id` | string | yes |  |  |
| `cell` | string |  |  |  |
| `capacity` | object | yes |  | - `no other fields` |
| `capacity.cpu` | object |  |  | - `no other fields` |
| `capacity.cpu.utilization` | number |  |  | - `minimum 0`<br>- `maximum 1` |
| `capacity.cpu.available_cores` | number |  |  | - `minimum 0` |
| `capacity.memory` | object |  |  | - `no other fields` |
| `capacity.memory.utilization` | number |  |  | - `minimum 0`<br>- `maximum 1` |
| `capacity.memory.available_mb` | number |  |  | - `minimum 0` |
| `capacity.network` | object |  |  | - `no other fields` |
| `capacity.network.ingress_mbps` | number |  |  | - `minimum 0` |
| `capacity.network.egress_mbps` | number |  |  | - `minimum 0` |
| `capacity.network.available_mbps` | number |  |  | - `minimum 0` |
| `capacity.disk` | object |  |  | - `no other fields` |
| `capacity.disk.iops_available` | number |  |  | - `minimum 0` |
| `capacity.disk.scratch_gb` | number |  |  | - `minimum 0` |
| `capacity.disk.utilization` | number |  |  | - `minimum 0`<br>- `maximum 1` |
| `capacity.gpu` | object |  |  | - `no other fields` |
| `capacity.gpu.type` | string |  |  |  |
| `capacity.gpu.vram_free_mb` | number |  |  | - `minimum 0` |
| `capacity.gpu.utilization` | number |  |  | - `minimum 0`<br>- `maximum 1` |
| `capacity.workers` | object |  | free worker slots by kind (browser, ffmpeg, ai, …) |  |
| `capacity.queues` | object |  | queue depth and age by name |  |
| `capacity.event_loop_lag_ms` | number |  |  | - `minimum 0` |
| `services` | object |  |  |  |
| `reported_at` | string | yes |  | - `format date-time` |

## Examples

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

 Valid: node

~~~~
{
  "node_id": "ovh-oregon-1",
  "cell": "wnam-1",
  "capacity": {
    "cpu": {
      "utilization": 0.37
    },
    "memory": {
      "utilization": 0.51
    },
    "event_loop_lag_ms": 4
  },
  "services": {
    "chat": {
      "instances": 1,
      "active_requests": 12,
      "p95_ms": 12.8,
      "error_rate": 0.0003
    }
  },
  "reported_at": "2026-09-28T23:00:00Z"
}
~~~~

Rejected: utilization-over-one

~~~~
{
  "node_id": "n",
  "capacity": {
    "cpu": {
      "utilization": 1.5
    }
  },
  "reported_at": "2026-09-28T23:00:00Z"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('platform.capacity-snapshot@1', value);   // { valid, errors: [{ path, message }] }
~~~~
