---
title: "exchange.usage@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/exchange.usage"
updated: null
---

# exchange.usage@1 · OpenVibe.Services

HTML: [exchange.usage@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/exchange.usage)

# ExchangeUsage `exchange.usage@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: exchange
- Visibility: public
- Status: active
- Compatibility: backward
- Decision: [ADR-025](/docs/adr/ADR-025)
- Schema: [`https://openvibe.network/contracts/exchange/usage.v1.json`](/docs/contracts/exchange.usage.json)

Exchange API platform ExchangeUsage response. Private account data is available only to its owner.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `rows` | array of object | yes |  | - `items: no other fields` |
| `rows[].day` | string | yes |  |  |
| `rows[].key_id` | string | yes |  |  |
| `rows[].model` | string | yes |  |  |
| `rows[].status` | string | yes |  |  |
| `rows[].requests` | number \| string | yes |  |  |
| `rows[].tokens_in` | number \| string | yes |  |  |
| `rows[].tokens_out` | number \| string | yes |  |  |
| `rows[].cost_usd` | number | yes |  | - `minimum 0` |

## Examples

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

 Valid: platform

~~~~
{
  "rows": []
}
~~~~

Rejected: platform

~~~~
{}
~~~~

## Validate

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