---
title: "network.operator-alerts-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/network.operator-alerts-request"
updated: null
---

# network.operator-alerts-request@1 · OpenVibe.Services

HTML: [network.operator-alerts-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/network.operator-alerts-request)

# NetworkOperatorAlertsRequest `network.operator-alerts-request@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
- Schema: [`https://openvibe.network/contracts/network/operator-alerts-request.v1.json`](/docs/contracts/network.operator-alerts-request.json)

network.operator-alerts-request@1: POST /internal/operator/alerts on OpenVibe.Network (capability network.operator.alert, held by the Host principal). The complete set of alerts firing now at one source: an alert Network has not seen firing opens and pages the operator; one still firing is reminded once a day; one that was firing and is absent from the set is resolved and says so. An empty list resolves everything from that source. Fingerprints are stable per alert (name and labels), never secrets; summaries and descriptions are the alert rule's annotations. A browser-check alert may carry what its result file knows (details, the release and its commit link, when the check ran, since when it has been failing) so the notification can explain the problem in words and link to the page, the commit and the rule's help page. Every string is text, never markup; every URL is https.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `source` | enum | yes | Where the alerts are evaluated. Resolution is per source. | - `one of "prometheus"` |
| `sent_at` | string |  |  | - `format date-time` |
| `alerts` | array of object | yes |  | - `maxItems 200`<br>- `items: no other fields` |
| `alerts[].fingerprint` | string | yes |  | - `pattern ^[0-9a-f]{16,64}$` |
| `alerts[].name` | string | yes |  | - `pattern ^[A-Za-z][A-Za-z0-9_:]{0,99}$` |
| `alerts[].severity` | enum | yes |  | - `one of "critical", "warning", "info"` |
| `alerts[].summary` | string | yes |  | - `minLength 1`<br>- `maxLength 300` |
| `alerts[].description` | string |  |  | - `maxLength 1000` |
| `alerts[].service` | string |  |  | - `pattern ^[a-z][a-z0-9-]{1,39}$` |
| `alerts[].started_at` | string | yes |  | - `format date-time` |
| `alerts[].details` | array of object |  | What failed, for a browser-check alert (from the check's result file), most useful first. Plain text: a notification shows it escaped, never as markup. | - `maxItems 5`<br>- `items: no other fields` |
| `alerts[].details[].route` | string |  | The page's path on the site, e.g. /pricing. | - `maxLength 200` |
| `alerts[].details[].check` | string | yes | status, errors, overflow, scripts, jsonld or axe. | - `maxLength 40` |
| `alerts[].details[].rule` | string |  | The axe rule id when check is axe. | - `maxLength 100` |
| `alerts[].details[].impact` | enum |  |  | - `one of "minor", "moderate", "serious", "critical"` |
| `alerts[].details[].targets` | array of string |  | The elements the rule names, as axe's target selectors. | - `maxItems 5`<br>- `items: maxLength 160` |
| `alerts[].details[].help` | string |  | The rule's own help text (axe's help), for a rule the notification does not know. | - `maxLength 300` |
| `alerts[].details[].help_url` | string |  | The rule's help page (axe's helpUrl), when the check kept it. | - `format uri`<br>- `maxLength 500` |
| `alerts[].details[].page_url` | string |  | The page that failed, on the site's own https origin. | - `format uri`<br>- `maxLength 500` |
| `alerts[].details[].message` | string |  | A console error's text, or a JSON-LD entity's type. | - `maxLength 300` |
| `alerts[].details[].width` | integer |  | The viewport width the failure was seen at, when it is width-specific. | - `minimum 0`<br>- `maximum 10000` |
| `alerts[].details[].status` | integer |  |  | - `minimum 100`<br>- `maximum 599` |
| `alerts[].details[].offenders` | array of string |  | The elements that overflow the viewport. | - `maxItems 5`<br>- `items: maxLength 160` |
| `alerts[].release` | string |  | The deployed commit the browser check saw (the full sha when the host can resolve it). | - `pattern ^[0-9a-f]{7,40}$` |
| `alerts[].release_url` | string |  | The release commit's page: git.openvibe.codes when the repository is mirrored there, else github.com. | - `format uri`<br>- `maxLength 500` |
| `alerts[].checked_at` | string |  | When the browser check that found this ran. | - `format date-time` |
| `alerts[].failing_since` | string |  | When this alert started firing; the same instant as started\_at, named for the notification's Failing since fact. | - `format date-time` |

## Examples

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

 Valid: all-clear

~~~~
{
  "source": "prometheus",
  "alerts": []
}
~~~~

Valid: browser-check

~~~~
{
  "source": "prometheus",
  "sent_at": "2026-11-10T09:20:00Z",
  "alerts": [
    {
      "fingerprint": "4c1f8a2d9e7b6c50",
      "name": "OpenVibeBrowserCheckFailed",
      "severity": "critical",
      "summary": "domains: the browser check of release 74bdff4 failed (1 failing check(s)); run: sudo ovhost browser-watch --sites domains --force",
      "description": "The automatic check of openvibe.domains found a problem after release 74bdff4.",
      "service": "domains",
      "started_at": "2026-11-10T09:12:30Z",
      "failing_since": "2026-11-10T09:12:30Z",
      "release": "74bdff4c0a1e9d2b7f3c5a8e6b4d2f1a0c9e8d7b",
      "release_url": "https://git.openvibe.codes/OpenVibers/OpenVibe.Domains/commit/74bdff4c0a1e9d2b7f3c5a8e6b4d2f1a0c9e8d7b",
      "checked_at": "2026-11-10T09:12:00Z",
      "details": [
        {
          "route": "/",
          "check": "axe",
          "rule": "summary-name",
          "impact": "serious",
          "targets": [
            "#dev-fold > summary",
            "#faq-fold > summary"
          ],
          "help": "Ensures the summary element has a non-empty accessible name",
          "help_url": "https://dequeuniversity.com/rules/axe/4.13/summary-name?application=axeAPI",
          "page_url": "https://openvibe.domains/"
        }
      ]
    },
    {
      "fingerprint": "9a8b7c6d5e4f3a2b1c0d",
      "name": "OpenVibeBrowserCheckFailed",
      "severity": "warning",
      "summary": "live: the browser check of release 8caa540 failed (2 failing check(s))",
      "service": "live",
      "started_at": "2026-09-26T14:05:00Z",
      "release": "8caa540",
      "checked_at": "2026-09-26T14:04:00Z",
      "details": [
        {
          "route": "/",
          "check": "errors",
          "message": "WebSocket closed",
          "width": 390,
          "page_url": "https://openvibe.live/"
        },
        {
          "route": "/",
          "check": "overflow",
          "width": 390,
          "offenders": [
            ".wide"
          ],
          "page_url": "https://openvibe.live/"
        }
      ]
    }
  ]
}
~~~~

Valid: two-firing

~~~~
{
  "source": "prometheus",
  "sent_at": "2026-09-26T14:10:00Z",
  "alerts": [
    {
      "fingerprint": "3f1c2a9b7d4e6f80",
      "name": "OpenVibeBackupMissed",
      "severity": "critical",
      "summary": "No successful backup in 26 hours",
      "description": "ovhost backup --all has not succeeded since 2026-09-25 03:35 UTC.",
      "service": "host",
      "started_at": "2026-09-26T05:35:00Z"
    },
    {
      "fingerprint": "9a8b7c6d5e4f3a2b1c0d",
      "name": "OpenVibeBrowserCheckFailed",
      "severity": "warning",
      "summary": "The browser check of live failed after release 8caa540",
      "service": "live",
      "started_at": "2026-09-26T14:05:00Z"
    }
  ]
}
~~~~

Rejected: detail-without-check

~~~~
{
  "source": "prometheus",
  "alerts": [
    {
      "fingerprint": "3f1c2a9b7d4e6f80",
      "name": "OpenVibeBrowserCheckFailed",
      "severity": "critical",
      "summary": "domains: the browser check failed",
      "started_at": "2026-09-26T05:35:00Z",
      "details": [
        {
          "route": "/",
          "rule": "summary-name"
        }
      ]
    }
  ]
}
~~~~

Rejected: extra-labels

~~~~
{
  "source": "prometheus",
  "alerts": [
    {
      "fingerprint": "3f1c2a9b7d4e6f80",
      "name": "OpenVibeBackupMissed",
      "severity": "critical",
      "summary": "No backup",
      "started_at": "2026-09-26T05:35:00Z",
      "labels": {
        "instance": "127.0.0.1:9100"
      }
    }
  ]
}
~~~~

Rejected: no-summary

~~~~
{
  "source": "prometheus",
  "alerts": [
    {
      "fingerprint": "3f1c2a9b7d4e6f80",
      "name": "OpenVibeBackupMissed",
      "severity": "critical",
      "started_at": "2026-09-26T05:35:00Z"
    }
  ]
}
~~~~

Rejected: unknown-severity

~~~~
{
  "source": "prometheus",
  "alerts": [
    {
      "fingerprint": "3f1c2a9b7d4e6f80",
      "name": "OpenVibeBackupMissed",
      "severity": "page",
      "summary": "No backup",
      "started_at": "2026-09-26T05:35:00Z"
    }
  ]
}
~~~~

Rejected: unknown-source

~~~~
{
  "source": "grafana",
  "alerts": []
}
~~~~

Rejected: uppercase-fingerprint

~~~~
{
  "source": "prometheus",
  "alerts": [
    {
      "fingerprint": "3F1C2A9B7D4E6F80",
      "name": "OpenVibeBackupMissed",
      "severity": "critical",
      "summary": "No backup",
      "started_at": "2026-09-26T05:35:00Z"
    }
  ]
}
~~~~

## Validate

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