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

# report.ai-usage-result@1 · OpenVibe.Services

HTML: [report.ai-usage-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/report.ai-usage-result)

# ReportAiUsageResult `report.ai-usage-result@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: report
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/report/ai-usage-result.v1.json`](/docs/contracts/report.ai-usage-result.json)

report.ai-usage-result@1: the AI meter in groups (plan L40/L41). GET /api/v1/ai/usage needs a service token with report.ai\_usage.read; the rows are grouped by day, site, model, system or paid\_by. A group that fewer than ten people share reads fewer than 10 instead of counting them.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `group` | enum | yes |  | - `one of "day", "site", "model", "system", "paid_by"` |
| `usage` | array of object | yes |  | - `items: no other fields` |
| `usage[].group` | enum | yes |  | - `one of "day", "site", "model", "system", "paid_by"` |
| `usage[].key` | string | yes | The name of the group: the day, the site, the model, the system or the payer. | - `maxLength 200` |
| `usage[].calls` | integer | yes |  | - `minimum 0` |
| `usage[].people` | one of | yes |  |  |
| `usage[].input` | integer | yes |  | - `minimum 0` |
| `usage[].output` | integer | yes |  | - `minimum 0` |
| `usage[].reasoning` | integer | yes |  | - `minimum 0` |
| `usage[].cache_read` | integer | yes |  | - `minimum 0` |
| `usage[].cache_write` | integer | yes |  | - `minimum 0` |
| `usage[].images` | integer |  |  | - `minimum 0` |
| `usage[].audio_seconds` | number |  |  | - `minimum 0` |
| `usage[].video_seconds` | number |  |  | - `minimum 0` |
| `usage[].list_cost_usd` | number | yes |  | - `minimum 0` |
| `usage[].charged_usd` | number | yes |  | - `minimum 0` |
| `usage[].fee_usd` | number | yes |  | - `minimum 0` |
| `usage[].cache_saved_usd` | number | yes |  | - `minimum 0` |
| `totals` | object | yes |  | - `no other fields` |
| `totals.calls` | integer | yes |  | - `minimum 0` |
| `totals.input` | integer | yes |  | - `minimum 0` |
| `totals.output` | integer | yes |  | - `minimum 0` |
| `totals.reasoning` | integer | yes |  | - `minimum 0` |
| `totals.cache_read` | integer | yes |  | - `minimum 0` |
| `totals.cache_write` | integer | yes |  | - `minimum 0` |
| `totals.images` | integer |  |  | - `minimum 0` |
| `totals.audio_seconds` | number |  |  | - `minimum 0` |
| `totals.video_seconds` | number |  |  | - `minimum 0` |
| `totals.list_cost_usd` | number | yes |  | - `minimum 0` |
| `totals.charged_usd` | number | yes |  | - `minimum 0` |
| `totals.fee_usd` | number | yes |  | - `minimum 0` |
| `totals.cache_saved_usd` | number | yes |  | - `minimum 0` |

## Examples

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

 Valid: by-day

~~~~
{
  "group": "day",
  "usage": [
    {
      "group": "day",
      "key": "2026-10-31",
      "calls": 12,
      "people": 14,
      "input": 100,
      "output": 50,
      "reasoning": 0,
      "cache_read": 800,
      "cache_write": 0,
      "list_cost_usd": 0.1,
      "charged_usd": 0.1,
      "fee_usd": 0,
      "cache_saved_usd": 0.02
    }
  ],
  "totals": {
    "calls": 12,
    "input": 100,
    "output": 50,
    "reasoning": 0,
    "cache_read": 800,
    "cache_write": 0,
    "list_cost_usd": 0.1,
    "charged_usd": 0.1,
    "fee_usd": 0,
    "cache_saved_usd": 0.02
  }
}
~~~~

Valid: fewer-than-ten

~~~~
{
  "group": "site",
  "usage": [
    {
      "group": "site",
      "key": "site:design",
      "calls": 3,
      "people": "fewer than 10",
      "input": 10,
      "output": 5,
      "reasoning": 0,
      "cache_read": 0,
      "cache_write": 0,
      "list_cost_usd": 0.01,
      "charged_usd": 0.01,
      "fee_usd": 0,
      "cache_saved_usd": 0
    }
  ],
  "totals": {
    "calls": 3,
    "input": 10,
    "output": 5,
    "reasoning": 0,
    "cache_read": 0,
    "cache_write": 0,
    "list_cost_usd": 0.01,
    "charged_usd": 0.01,
    "fee_usd": 0,
    "cache_saved_usd": 0
  }
}
~~~~

Rejected: counts-few-people

~~~~
{
  "group": "site",
  "usage": [
    {
      "group": "site",
      "key": "site:design",
      "calls": 3,
      "people": 3,
      "input": 10,
      "output": 5,
      "reasoning": 0,
      "cache_read": 0,
      "cache_write": 0,
      "list_cost_usd": 0.01,
      "charged_usd": 0.01,
      "fee_usd": 0,
      "cache_saved_usd": 0
    }
  ],
  "totals": {
    "calls": 3,
    "input": 10,
    "output": 5,
    "reasoning": 0,
    "cache_read": 0,
    "cache_write": 0,
    "list_cost_usd": 0.01,
    "charged_usd": 0.01,
    "fee_usd": 0,
    "cache_saved_usd": 0
  }
}
~~~~

## Validate

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