---
title: "openvibe-sdk/storage · OpenVibe.Services"
canonical: "https://openvibe.services/docs/sdk/storage"
updated: null
---

# openvibe-sdk/storage · OpenVibe.Services

HTML: [openvibe-sdk/storage · OpenVibe.Services](https://openvibe.services/docs/sdk/storage)

# `openvibe-sdk/storage`

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).

From `types/storage.d.ts` (server only). Declarations are shown verbatim.

## type StorageOfferDurability

platform.storage-offer@1: durable storage capacity and operation pricing. Validated by openvibe-contracts (required lazily by validateStorageOffer).

~~~~
export type StorageOfferDurability = { replicas: number; target_nines?: number };
~~~~

## type StorageOfferLifecycleRule

~~~~
export type StorageOfferLifecycleRule = { after_days: number; action: 'transition' | 'expire'; target_class?: 'hot' | 'warm' | 'cold' };
~~~~

## type StorageOffer

~~~~
export type StorageOffer = { id: string; class: 'hot' | 'warm' | 'cold'; capacity_gb: number;
    price_per_gb_month_usd: number; price_per_operation_usd: number; region: string; node: string;
    durability: StorageOfferDurability; lifecycle_rules: StorageOfferLifecycleRule[] };
~~~~

## type ValidationError

~~~~
export type ValidationError = { path: string; message: string };
~~~~

## function storageOffer

Null/undefined fields are stripped.

~~~~
export declare function storageOffer(fields: Partial<StorageOffer>): StorageOffer;
~~~~

## function validateStorageOffer

~~~~
export declare function validateStorageOffer(record: unknown): { ok: boolean; errors: ValidationError[] };
~~~~
