---
title: "OpenVibe.Search API · OpenVibe.Services"
canonical: "https://openvibe.services/docs/api/search"
updated: null
---

# OpenVibe.Search API · OpenVibe.Services

HTML: [OpenVibe.Search API · OpenVibe.Services](https://openvibe.services/docs/api/search)

# OpenVibe.Search API

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).

Server `https://search.openvibe.network`. 11 routes performing 4 capabilities. [OpenAPI 3.1 document](/docs/api/search.json).

  only routes apps can be granted (public, partner)  

### GET `/api/v1/documents/{owner}/{type}/{id}`

Query the index on behalf of a person: X-OV-Subject (usr\_/gst\_) plus the X-OV-Groups and X-OV-Entitlements the calling first-party service has just resolved for that person.

- Capabilities: [search.query.delegate](/docs/capabilities/search.query.delegate), [search.query.run](/docs/capabilities/search.query.run)
- Visibility: first-party, public
- Parameters: - `owner` (path, required)
- `type` (path, required)
- `id` (path, required)
- `q` (query) — Words to match (FTS5; empty lists by recency).
- `lang` (query) — BCP 47 language.
- `facets` (query) — Comma-separated facet keys to count over what the caller can see.
- `limit` (query)
- `cursor` (query) — next\_cursor of the previous page.
- Input: [search.query@1](/docs/contracts/search.query)
- Response: `application/json` [search.read-result@1](/docs/contracts/search.read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.query.delegate</strong> (first-party): Query the index on behalf of a person: X-OV-Subject (usr\_/gst\_) plus the X-OV-Groups and X-OV-Entitlements the calling first-party service has just resolved for that person. Without X-OV-Subject the service sees public documents only. Drafts, unpublished and deleted documents are never returned to anyone.</p> <p><strong>search.query.run</strong> (public): Query the network index as anyone (roadmap §30.2 search.query, search.suggest, search.facets.read): anonymous callers get public, published documents only, and a signed-in person&#39;s Network token adds the documents whose access list names them or their role. Covers title suggestions, facet counts (facets=, facet.&lt;key&gt;=) and reading one document; a document the caller may not see is the same 404 as a missing one. Served publicly at search.openvibe.network. A first-party service asking for a person uses search.query.delegate (today Search requires that id for any service token).</p>

### PUT `/api/v1/documents/{owner}/{type}/{id}`

Index, replace or tombstone the calling service's own documents (search.index-document@1) and read its own inventory for reconciliation.

- Capabilities: [search.document.write](/docs/capabilities/search.document.write)
- Visibility: first-party
- Parameters: - `owner` (path, required)
- `type` (path, required)
- `id` (path, required)
- Request body: `application/json` [search.document-write-request@1](/docs/contracts/search.document-write-request)
- Response: `application/json` [search.owner-result@1](/docs/contracts/search.owner-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.document.write</strong> (first-party): Index, replace or tombstone the calling service&#39;s own documents (search.index-document@1) and read its own inventory for reconciliation. The owner in the path must be the principal&#39;s service slug (svc:wiki writes owner wiki only). Revision-ordered: an older revision never overwrites a newer one, and at equal revision a deletion wins.</p>

### DELETE `/api/v1/documents/{owner}/{type}/{id}`

Index, replace or tombstone the calling service's own documents (search.index-document@1) and read its own inventory for reconciliation.

- Capabilities: [search.document.write](/docs/capabilities/search.document.write)
- Visibility: first-party
- Parameters: - `owner` (path, required)
- `type` (path, required)
- `id` (path, required)
- Input: [search.document-write-request@1](/docs/contracts/search.document-write-request)
- Response: `application/json` [search.owner-result@1](/docs/contracts/search.owner-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.document.write</strong> (first-party): Index, replace or tombstone the calling service&#39;s own documents (search.index-document@1) and read its own inventory for reconciliation. The owner in the path must be the principal&#39;s service slug (svc:wiki writes owner wiki only). Revision-ordered: an older revision never overwrites a newer one, and at equal revision a deletion wins.</p>

### GET `/api/v1/owners/{owner}/documents`

Index, replace or tombstone the calling service's own documents (search.index-document@1) and read its own inventory for reconciliation.

- Capabilities: [search.document.write](/docs/capabilities/search.document.write)
- Visibility: first-party
- Parameters: - `owner` (path, required)
- Input: [search.document-write-request@1](/docs/contracts/search.document-write-request)
- Response: `application/json` [search.owner-result@1](/docs/contracts/search.owner-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.document.write</strong> (first-party): Index, replace or tombstone the calling service&#39;s own documents (search.index-document@1) and read its own inventory for reconciliation. The owner in the path must be the principal&#39;s service slug (svc:wiki writes owner wiki only). Revision-ordered: an older revision never overwrites a newer one, and at equal revision a deletion wins.</p>

### GET `/api/v1/owners/{owner}/documents/{type}/{id}`

Index, replace or tombstone the calling service's own documents (search.index-document@1) and read its own inventory for reconciliation.

- Capabilities: [search.document.write](/docs/capabilities/search.document.write)
- Visibility: first-party
- Parameters: - `owner` (path, required)
- `type` (path, required)
- `id` (path, required)
- Input: [search.document-write-request@1](/docs/contracts/search.document-write-request)
- Response: `application/json` [search.owner-result@1](/docs/contracts/search.owner-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.document.write</strong> (first-party): Index, replace or tombstone the calling service&#39;s own documents (search.index-document@1) and read its own inventory for reconciliation. The owner in the path must be the principal&#39;s service slug (svc:wiki writes owner wiki only). Revision-ordered: an older revision never overwrites a newer one, and at equal revision a deletion wins.</p>

### GET `/api/v1/owners/{owner}/rejections`

Index, replace or tombstone the calling service's own documents (search.index-document@1) and read its own inventory for reconciliation.

- Capabilities: [search.document.write](/docs/capabilities/search.document.write)
- Visibility: first-party
- Parameters: - `owner` (path, required)
- Input: [search.document-write-request@1](/docs/contracts/search.document-write-request)
- Response: `application/json` [search.owner-result@1](/docs/contracts/search.owner-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.document.write</strong> (first-party): Index, replace or tombstone the calling service&#39;s own documents (search.index-document@1) and read its own inventory for reconciliation. The owner in the path must be the principal&#39;s service slug (svc:wiki writes owner wiki only). Revision-ordered: an older revision never overwrites a newer one, and at equal revision a deletion wins.</p>

### GET `/api/v1/query`

One search over several scopes (plan 2026-10-28 §4.5, the Search Fabric): network (Search's index, permission-aware as search.query.run), mine (the person's own private documents), web (OpenVibe's ope

- Capabilities: [search.fabric.query](/docs/capabilities/search.fabric.query)
- Visibility: public
- Parameters: - `q` (query, required) — What to find.
- `scopes` (query) — Where to look; results are grouped by scope. Default: network.
- `filters` (query) — Narrow the network and mine scopes (never widen what the caller may see).
- `freshness` (query) — How recent results must be, where the source dates them.
- `depth` (query) — quick: indexes and caches only (no paid provider); standard: the ladder until a step answers; deep: every step, merged.
- `answer` (query) — Ask for a short cited answer written by AI from the results. Never without citations; labelled AI. A deployment may decline (answer: null, with the reason in route.explain).
- `limit` (query)
- `cursor` (query) — next\_cursor of the previous page (network and mine only).
- Input: [search.fabric-request@1](/docs/contracts/search.fabric-request)
- Response: `application/json` [search.fabric-result@1](/docs/contracts/search.fabric-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.fabric.query</strong> (public): One search over several scopes (plan 2026-10-28 §4.5, the Search Fabric): network (Search&#39;s index, permission-aware as search.query.run), mine (the person&#39;s own private documents), web (OpenVibe&#39;s open index, then paid providers in a ladder, cached), with route.explain saying what answered and what it cost. Anonymous callers get network results and web results from the open index and the cache; a signed-in person or a first-party service (X-OV-Subject for mine) also reaches paid providers within OpenVibe&#39;s daily caps. Providers never receive an account identifier. The same operation is the SDK&#39;s createSearchClient().query() and the MCP tool openvibe.search.</p>

### POST `/api/v1/query`

One search over several scopes (plan 2026-10-28 §4.5, the Search Fabric): network (Search's index, permission-aware as search.query.run), mine (the person's own private documents), web (OpenVibe's ope

- Capabilities: [search.fabric.query](/docs/capabilities/search.fabric.query)
- Visibility: public
- Request body: `application/json` [search.fabric-request@1](/docs/contracts/search.fabric-request)
- Response: `application/json` [search.fabric-result@1](/docs/contracts/search.fabric-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.fabric.query</strong> (public): One search over several scopes (plan 2026-10-28 §4.5, the Search Fabric): network (Search&#39;s index, permission-aware as search.query.run), mine (the person&#39;s own private documents), web (OpenVibe&#39;s open index, then paid providers in a ladder, cached), with route.explain saying what answered and what it cost. Anonymous callers get network results and web results from the open index and the cache; a signed-in person or a first-party service (X-OV-Subject for mine) also reaches paid providers within OpenVibe&#39;s daily caps. Providers never receive an account identifier. The same operation is the SDK&#39;s createSearchClient().query() and the MCP tool openvibe.search.</p>

### GET `/api/v1/query/providers`

One search over several scopes (plan 2026-10-28 §4.5, the Search Fabric): network (Search's index, permission-aware as search.query.run), mine (the person's own private documents), web (OpenVibe's ope

- Capabilities: [search.fabric.query](/docs/capabilities/search.fabric.query)
- Visibility: public
- Parameters: - `q` (query, required) — What to find.
- `scopes` (query) — Where to look; results are grouped by scope. Default: network.
- `filters` (query) — Narrow the network and mine scopes (never widen what the caller may see).
- `freshness` (query) — How recent results must be, where the source dates them.
- `depth` (query) — quick: indexes and caches only (no paid provider); standard: the ladder until a step answers; deep: every step, merged.
- `answer` (query) — Ask for a short cited answer written by AI from the results. Never without citations; labelled AI. A deployment may decline (answer: null, with the reason in route.explain).
- `limit` (query)
- `cursor` (query) — next\_cursor of the previous page (network and mine only).
- Input: [search.fabric-request@1](/docs/contracts/search.fabric-request)
- Response: `application/json` [search.fabric-result@1](/docs/contracts/search.fabric-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.fabric.query</strong> (public): One search over several scopes (plan 2026-10-28 §4.5, the Search Fabric): network (Search&#39;s index, permission-aware as search.query.run), mine (the person&#39;s own private documents), web (OpenVibe&#39;s open index, then paid providers in a ladder, cached), with route.explain saying what answered and what it cost. Anonymous callers get network results and web results from the open index and the cache; a signed-in person or a first-party service (X-OV-Subject for mine) also reaches paid providers within OpenVibe&#39;s daily caps. Providers never receive an account identifier. The same operation is the SDK&#39;s createSearchClient().query() and the MCP tool openvibe.search.</p>

### GET `/api/v1/search`

Query the index on behalf of a person: X-OV-Subject (usr\_/gst\_) plus the X-OV-Groups and X-OV-Entitlements the calling first-party service has just resolved for that person.

- Capabilities: [search.query.delegate](/docs/capabilities/search.query.delegate), [search.query.run](/docs/capabilities/search.query.run)
- Visibility: first-party, public
- Parameters: - `q` (query) — Words to match (FTS5; empty lists by recency).
- `owner` (query) — One owner service (live, community, wiki, …).
- `type` (query) — One document type within the owner (channel, vod, thread, …).
- `lang` (query) — BCP 47 language.
- `facets` (query) — Comma-separated facet keys to count over what the caller can see.
- `limit` (query)
- `cursor` (query) — next\_cursor of the previous page.
- Input: [search.query@1](/docs/contracts/search.query)
- Response: `application/json` [search.read-result@1](/docs/contracts/search.read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.query.delegate</strong> (first-party): Query the index on behalf of a person: X-OV-Subject (usr\_/gst\_) plus the X-OV-Groups and X-OV-Entitlements the calling first-party service has just resolved for that person. Without X-OV-Subject the service sees public documents only. Drafts, unpublished and deleted documents are never returned to anyone.</p> <p><strong>search.query.run</strong> (public): Query the network index as anyone (roadmap §30.2 search.query, search.suggest, search.facets.read): anonymous callers get public, published documents only, and a signed-in person&#39;s Network token adds the documents whose access list names them or their role. Covers title suggestions, facet counts (facets=, facet.&lt;key&gt;=) and reading one document; a document the caller may not see is the same 404 as a missing one. Served publicly at search.openvibe.network. A first-party service asking for a person uses search.query.delegate (today Search requires that id for any service token).</p>

### GET `/api/v1/suggest`

Query the index on behalf of a person: X-OV-Subject (usr\_/gst\_) plus the X-OV-Groups and X-OV-Entitlements the calling first-party service has just resolved for that person.

- Capabilities: [search.query.delegate](/docs/capabilities/search.query.delegate), [search.query.run](/docs/capabilities/search.query.run)
- Visibility: first-party, public
- Parameters: - `q` (query) — Words to match (FTS5; empty lists by recency).
- `owner` (query) — One owner service (live, community, wiki, …).
- `type` (query) — One document type within the owner (channel, vod, thread, …).
- `lang` (query) — BCP 47 language.
- `facets` (query) — Comma-separated facet keys to count over what the caller can see.
- `limit` (query)
- `cursor` (query) — next\_cursor of the previous page.
- Input: [search.query@1](/docs/contracts/search.query)
- Response: `application/json` [search.read-result@1](/docs/contracts/search.read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>search.query.delegate</strong> (first-party): Query the index on behalf of a person: X-OV-Subject (usr\_/gst\_) plus the X-OV-Groups and X-OV-Entitlements the calling first-party service has just resolved for that person. Without X-OV-Subject the service sees public documents only. Drafts, unpublished and deleted documents are never returned to anyone.</p> <p><strong>search.query.run</strong> (public): Query the network index as anyone (roadmap §30.2 search.query, search.suggest, search.facets.read): anonymous callers get public, published documents only, and a signed-in person&#39;s Network token adds the documents whose access list names them or their role. Covers title suggestions, facet counts (facets=, facet.&lt;key&gt;=) and reading one document; a document the caller may not see is the same 404 as a missing one. Served publicly at search.openvibe.network. A first-party service asking for a person uses search.query.delegate (today Search requires that id for any service token).</p>
