---
title: "tools.analytics-read-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/tools.analytics-read-result"
updated: null
---

# tools.analytics-read-result@1 · OpenVibe.Services

HTML: [tools.analytics-read-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/tools.analytics-read-result)

# ToolsAnalyticsReadResult `tools.analytics-read-result@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: tools
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/tools/analytics-read-result.v1.json`](/docs/contracts/tools.analytics-read-result.json)

tools.analytics-read-result@1: the answer of GET /api/internal/analytics on the Tools gateway and on each satellite (capability tools.analytics.read; internal key plus loopback only): { ok: true, analytics } — the satellites' analytics added up (summary totals, realtime, per-app numbers, with the busiest satellite's detail tables beside them) for Network's admin dashboard. Aggregate counts only, never rows; analytics is open (its shape is each satellite's).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `ok` | const | yes |  | - `= true` |
| `analytics` | object | yes | Aggregate analytics; open. |  |

## Examples

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

 Valid: rollup

~~~~
{
  "ok": true,
  "analytics": {
    "summary": {
      "total_pageviews": 40231,
      "avg_response_ms": 84
    },
    "realtime": {
      "online": 12
    },
    "apps": [
      {
        "name": "img",
        "total_pageviews": 20000
      },
      {
        "name": "docs",
        "total_pageviews": 20231
      }
    ]
  }
}
~~~~

Rejected: no-analytics

~~~~
{
  "ok": true
}
~~~~

## Validate

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