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

# search.query-result@1 · OpenVibe.Services

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

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

search.query-result@1: the answer of GET /api/v1/search — one page of hits the caller may see, a cursor for the next page, and facet counts when asked. Never a total count and never an ACL.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `results` | array of object | yes |  | - `maxItems 100`<br>- `items: no other fields` |
| `results[].owner` | string | yes |  |  |
| `results[].type` | string | yes |  |  |
| `results[].id` | string | yes |  |  |
| `results[].revision` | integer |  |  | - `minimum 0` |
| `results[].visibility` | string |  |  |  |
| `results[].title` | string \| null |  |  |  |
| `results[].summary` | string \| null |  |  |  |
| `results[].canonical_url` | string \| null |  |  |  |
| `results[].facets` | object \| null |  |  |  |
| `results[].language` | string \| null |  |  |  |
| `results[].authorship` | string \| null |  |  |  |
| `results[].provenance` | array \| object \| null |  |  |  |
| `results[].published_at` | string \| null |  |  |  |
| `results[].updated_at` | string \| null |  |  |  |
| `results[].indexable` | boolean |  | false for a noindex document the caller may still see. |  |
| `results[].snippet_html` | string \| null |  | Escaped text with <mark> around the matches; nothing else. |  |
| `results[].ranks` | object |  | 1-based position in the keyword and vector top-100 lists; null when absent from that list. | - `no other fields` |
| `results[].ranks.keyword` | integer \| null | yes |  | - `minimum 1` |
| `results[].ranks.vector` | integer \| null | yes |  | - `minimum 1` |
| `next_cursor` | string \| null | yes |  |  |
| `facets` | object |  |  |  |
| `explain` | object |  | How this page was ranked; reason is present only when ranking is keyword. | - `no other fields` |
| `explain.ranking` | enum | yes |  | - `one of "hybrid", "keyword"` |
| `explain.reason` | enum |  |  | - `one of "no_vectors", "ai_unavailable", "short_query"` |

## Examples

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

 Valid: page

~~~~
{
  "results": [
    {
      "owner": "live",
      "type": "vod",
      "id": "912",
      "revision": 3,
      "visibility": "public",
      "title": "Building a forum",
      "summary": null,
      "canonical_url": "https://openvibe.live/vod/912",
      "facets": {
        "channel": "alex"
      },
      "language": null,
      "authorship": "human",
      "provenance": [],
      "published_at": "2026-09-24T19:00:00.000Z",
      "updated_at": null,
      "indexable": true,
      "snippet_html": "building a <mark>forum</mark>"
    }
  ],
  "next_cursor": null
}
~~~~

Rejected: leaks-acl

~~~~
{
  "results": [
    {
      "owner": "live",
      "type": "vod",
      "id": "912",
      "acl": [
        "usr_x"
      ]
    }
  ],
  "next_cursor": null
}
~~~~

## Validate

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