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

# OpenVibe.Games API · OpenVibe.Services

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

# OpenVibe.Games 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://openvibe.games`. 12 routes performing 9 capabilities. [OpenAPI 3.1 document](/docs/api/games.json).

  only routes apps can be granted (public, partner)  

### POST `/api/mods`

Run a staff-installed script mod (games-quickjs@1, one or more module files in its content pack, imports resolved inside the pack only) in its own QuickJS sandbox per place, under the pack's CPU and m

- Capabilities: [games.script.run](/docs/capabilities/games.script.run)
- Visibility: public
- Request body: `application/json` [games.script-call@1](/docs/contracts/games.script-call)
- Response: `application/json` [games.script-call-result@1](/docs/contracts/games.script-call-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>games.script.run</strong> (public): Run a staff-installed script mod (games-quickjs@1, one or more module files in its content pack, imports resolved inside the pack only) in its own QuickJS sandbox per place, under the pack&#39;s CPU and memory budgets; a staff hot reload replaces the code and keeps its storage, and a reload that fails to start keeps the previous version running. The script sees only the bindings its install was granted.</p> <p>Route note: install, staff</p>

### POST `/api/mods/{id}/reload`

Run a staff-installed script mod (games-quickjs@1, one or more module files in its content pack, imports resolved inside the pack only) in its own QuickJS sandbox per place, under the pack's CPU and m

- Capabilities: [games.script.run](/docs/capabilities/games.script.run)
- Visibility: public
- Parameters: - `id` (path, required)
- Request body: `application/json` [games.script-call@1](/docs/contracts/games.script-call)
- Response: `application/json` [games.script-call-result@1](/docs/contracts/games.script-call-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>games.script.run</strong> (public): Run a staff-installed script mod (games-quickjs@1, one or more module files in its content pack, imports resolved inside the pack only) in its own QuickJS sandbox per place, under the pack&#39;s CPU and memory budgets; a staff hot reload replaces the code and keeps its storage, and a reload that fails to start keeps the previous version running. The script sees only the bindings its install was granted.</p> <p>Route note: staff</p>

### GET `/api/v1/mods`

Read the browser game's installed mods: manifest, content pack, status, trust tier, requested and granted capabilities.

- Capabilities: [games.mod.read](/docs/capabilities/games.mod.read)
- Visibility: public
- Response: `application/json` [games.mod-read-result@1](/docs/contracts/games.mod-read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>games.mod.read</strong> (public): Read the browser game&#39;s installed mods: manifest, content pack, status, trust tier, requested and granted capabilities. Public; no token needed.</p>

### POST `/api/v1/mods`

Manage mod installs in the browser game's registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, di

- Capabilities: [games.mod.manage](/docs/capabilities/games.mod.manage)
- Visibility: first-party
- Request body: `application/json` [games.mod-manage-request@1](/docs/contracts/games.mod-manage-request)
- Response: `application/json` [games.mod-manage-result@1](/docs/contracts/games.mod-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>games.mod.manage</strong> (first-party): Manage mod installs in the browser game&#39;s registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, disable, and revoke an install for good (its effects end on the next server tick). Every action is audited and published as a games.mod.\* event. Trust tiers are metadata and never grant anything. Also accepted from an openvibe.network owner/admin session. Reload replaces a running script mod&#39;s code (games-quickjs@1) and keeps its storage; a reload that fails to start keeps the previous version.</p>

### GET `/api/v1/mods/{id}`

Read the browser game's installed mods: manifest, content pack, status, trust tier, requested and granted capabilities.

- Capabilities: [games.mod.read](/docs/capabilities/games.mod.read)
- Visibility: public
- Parameters: - `id` (path, required)
- Response: `application/json` [games.mod-read-result@1](/docs/contracts/games.mod-read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>games.mod.read</strong> (public): Read the browser game&#39;s installed mods: manifest, content pack, status, trust tier, requested and granted capabilities. Public; no token needed.</p>

### GET `/api/v1/mods/{id}/audit`

Manage mod installs in the browser game's registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, di

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

 Description<p><strong>games.mod.manage</strong> (first-party): Manage mod installs in the browser game&#39;s registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, disable, and revoke an install for good (its effects end on the next server tick). Every action is audited and published as a games.mod.\* event. Trust tiers are metadata and never grant anything. Also accepted from an openvibe.network owner/admin session. Reload replaces a running script mod&#39;s code (games-quickjs@1) and keeps its storage; a reload that fails to start keeps the previous version.</p>

### POST `/api/v1/mods/{id}/disable`

Manage mod installs in the browser game's registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, di

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

 Description<p><strong>games.mod.manage</strong> (first-party): Manage mod installs in the browser game&#39;s registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, disable, and revoke an install for good (its effects end on the next server tick). Every action is audited and published as a games.mod.\* event. Trust tiers are metadata and never grant anything. Also accepted from an openvibe.network owner/admin session. Reload replaces a running script mod&#39;s code (games-quickjs@1) and keeps its storage; a reload that fails to start keeps the previous version.</p>

### POST `/api/v1/mods/{id}/enable`

Manage mod installs in the browser game's registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, di

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

 Description<p><strong>games.mod.manage</strong> (first-party): Manage mod installs in the browser game&#39;s registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, disable, and revoke an install for good (its effects end on the next server tick). Every action is audited and published as a games.mod.\* event. Trust tiers are metadata and never grant anything. Also accepted from an openvibe.network owner/admin session. Reload replaces a running script mod&#39;s code (games-quickjs@1) and keeps its storage; a reload that fails to start keeps the previous version.</p>

### POST `/api/v1/mods/{id}/grants`

Manage mod installs in the browser game's registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, di

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

 Description<p><strong>games.mod.manage</strong> (first-party): Manage mod installs in the browser game&#39;s registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, disable, and revoke an install for good (its effects end on the next server tick). Every action is audited and published as a games.mod.\* event. Trust tiers are metadata and never grant anything. Also accepted from an openvibe.network owner/admin session. Reload replaces a running script mod&#39;s code (games-quickjs@1) and keeps its storage; a reload that fails to start keeps the previous version.</p>

### DELETE `/api/v1/mods/{id}/grants/{capability}`

Manage mod installs in the browser game's registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, di

- Capabilities: [games.mod.manage](/docs/capabilities/games.mod.manage)
- Visibility: first-party
- Parameters: - `id` (path, required)
- `capability` (path, required)
- Input: [games.mod-manage-request@1](/docs/contracts/games.mod-manage-request)
- Response: `application/json` [games.mod-manage-result@1](/docs/contracts/games.mod-manage-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>games.mod.manage</strong> (first-party): Manage mod installs in the browser game&#39;s registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, disable, and revoke an install for good (its effects end on the next server tick). Every action is audited and published as a games.mod.\* event. Trust tiers are metadata and never grant anything. Also accepted from an openvibe.network owner/admin session. Reload replaces a running script mod&#39;s code (games-quickjs@1) and keeps its storage; a reload that fails to start keeps the previous version.</p>

### POST `/api/v1/mods/{id}/reload`

Manage mod installs in the browser game's registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, di

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

 Description<p><strong>games.mod.manage</strong> (first-party): Manage mod installs in the browser game&#39;s registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, disable, and revoke an install for good (its effects end on the next server tick). Every action is audited and published as a games.mod.\* event. Trust tiers are metadata and never grant anything. Also accepted from an openvibe.network owner/admin session. Reload replaces a running script mod&#39;s code (games-quickjs@1) and keeps its storage; a reload that fails to start keeps the previous version.</p>

### POST `/api/v1/mods/{id}/revoke`

Manage mod installs in the browser game's registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, di

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

 Description<p><strong>games.mod.manage</strong> (first-party): Manage mod installs in the browser game&#39;s registry (ADR-013): install a mods/mod-manifest.v1 manifest with its games-content@1 pack, approve or revoke individual capabilities of an install, enable, disable, and revoke an install for good (its effects end on the next server tick). Every action is audited and published as a games.mod.\* event. Trust tiers are metadata and never grant anything. Also accepted from an openvibe.network owner/admin session. Reload replaces a running script mod&#39;s code (games-quickjs@1) and keeps its storage; a reload that fails to start keeps the previous version.</p>

## Other bindings

- [games.player.message](/docs/capabilities/games.player.message): `mod runtime binding game.message (apps/server/src/mods/script/host.ts)`
- [games.players.read](/docs/capabilities/games.players.read): `mod runtime binding game.players / game.player (apps/server/src/mods/script/host.ts)`
- [games.prop.place](/docs/capabilities/games.prop.place): `mod runtime binding ModApi.placeProp / ModApi.removeProp (apps/server/src/mods/runtime.ts)`
- [games.script.run](/docs/capabilities/games.script.run): `mod runtime: games-quickjs@1 sandbox (apps/server/src/mods/script/host.ts, quickjs.ts)`
- [games.storage.kv](/docs/capabilities/games.storage.kv): `mod runtime binding game.storage (apps/server/src/mods/script/host.ts, storage.ts)`
- [games.world.announce](/docs/capabilities/games.world.announce): `mod runtime binding ModApi.announce (apps/server/src/mods/runtime.ts)`
- [games.world.emit](/docs/capabilities/games.world.emit): `mod runtime binding game.emit (apps/server/src/mods/script/host.ts)`
