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

# vision.watch-result@1 · OpenVibe.Services

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

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

vision.watch-result@1: POST /api/v1/watch answers the requested classes found in a camera still (DETR labels, snow/delivery/package through CLIP, or a histogram scene change), each with a confidence and, for an object, a box.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `answer` | object | yes |  | - `no other fields` |
| `answer.detections` | array of object | yes |  | - `items: no other fields` |
| `answer.detections[].class` | string | yes |  |  |
| `answer.detections[].confidence` | number | yes |  | - `minimum 0`<br>- `maximum 1` |
| `answer.detections[].box` | object \| null |  |  |  |
| `answer.receipt` | object | yes |  | - `no other fields` |
| `answer.receipt.engine` | enum | yes |  | - `one of "local", "routed", "local+routed", "local+routed description"` |
| `answer.receipt.model` | string \| null | yes |  |  |
| `answer.receipt.cost_usd` | number | yes |  | - `minimum 0` |
| `answer.receipt.ms` | integer | yes |  | - `minimum 0` |
| `answer.receipt.confidence` | number \| null | yes |  |  |
| `answer.receipt.retention` | string | yes |  |  |

## Examples

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

 Valid: one

~~~~
{
  "answer": {
    "detections": [
      {
        "class": "package",
        "confidence": 0.88,
        "box": {
          "x": 1,
          "y": 2,
          "width": 30,
          "height": 40
        }
      },
      {
        "class": "scene change",
        "confidence": 0.4,
        "box": null
      }
    ],
    "receipt": {
      "engine": "local",
      "model": "DETR ResNet-50 q8 + histogram",
      "cost_usd": 0,
      "ms": 80,
      "confidence": 0.88,
      "retention": "not stored"
    }
  }
}
~~~~

Rejected: one

~~~~
{
  "answer": {
    "detections": [
      {
        "class": "package",
        "confidence": 1.5
      }
    ],
    "receipt": {
      "engine": "local",
      "model": null,
      "cost_usd": 0,
      "ms": 1,
      "confidence": null,
      "retention": "x"
    }
  }
}
~~~~

## Validate

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