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

# OpenRestream API · OpenVibe.Services

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

# OpenRestream 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://openre.stream`. 25 routes performing 9 capabilities. [OpenAPI 3.1 document](/docs/api/openre.json).

  only routes apps can be granted (public, partner)  

### PATCH `/api/v1/destinations/{id}`

Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.

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

 Description<p><strong>openre.output.write</strong> (first-party): Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.</p>

### DELETE `/api/v1/destinations/{id}`

Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.

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

 Description<p><strong>openre.output.write</strong> (first-party): Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.</p>

### GET `/api/v1/destinations/{id}/logs`

Read restream destinations (keys masked to their last four characters), outputs with health and progress, and bounded logs.

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

 Description<p><strong>openre.output.read</strong> (first-party): Read restream destinations (keys masked to their last four characters), outputs with health and progress, and bounded logs.</p>

### POST `/api/v1/destinations/{id}/start`

Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.

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

 Description<p><strong>openre.output.write</strong> (first-party): Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.</p>

### POST `/api/v1/destinations/{id}/stop`

Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.

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

 Description<p><strong>openre.output.write</strong> (first-party): Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.</p>

### POST `/api/v1/destinations/{id}/test`

Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.

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

 Description<p><strong>openre.output.write</strong> (first-party): Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.</p>

### GET `/api/v1/outputs/{id}/logs`

Read restream destinations (keys masked to their last four characters), outputs with health and progress, and bounded logs.

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

 Description<p><strong>openre.output.read</strong> (first-party): Read restream destinations (keys masked to their last four characters), outputs with health and progress, and bounded logs.</p>

### GET `/api/v1/resources`

Read OpenRestream's resource index (ADR-048, plan T13 step 8 phase 2, a person-owned resource): GET /api/v1/resources lists its stream definitions as a page of common.resource-summary@1 (common.resour

- Capabilities: [openre.resource.read](/docs/capabilities/openre.resource.read)
- Visibility: first-party
- Response: `application/json` [common.resource-list-result@1](/docs/contracts/common.resource-list-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>openre.resource.read</strong> (first-party): Read OpenRestream&#39;s resource index (ADR-048, plan T13 step 8 phase 2, a person-owned resource): GET /api/v1/resources lists its stream definitions as a page of common.resource-summary@1 (common.resource-list-result@1). Kind openre.stream, id std\_&lt;ULID&gt;, named by the stream&#39;s title, state its state (active, disabled), owner its owner\_subject. Archived definitions are left out. Streams belong to people, not projects, so a stream carries no project\_id and no OVRN; GET /api/v1/resources/:ovrn answers 404 for every name.</p>

### GET `/api/v1/resources/{ovrn}`

Read OpenRestream's resource index (ADR-048, plan T13 step 8 phase 2, a person-owned resource): GET /api/v1/resources lists its stream definitions as a page of common.resource-summary@1 (common.resour

- Capabilities: [openre.resource.read](/docs/capabilities/openre.resource.read)
- Visibility: first-party
- Parameters: - `ovrn` (path, required)
- Response: `application/json` [common.resource-list-result@1](/docs/contracts/common.resource-list-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>openre.resource.read</strong> (first-party): Read OpenRestream&#39;s resource index (ADR-048, plan T13 step 8 phase 2, a person-owned resource): GET /api/v1/resources lists its stream definitions as a page of common.resource-summary@1 (common.resource-list-result@1). Kind openre.stream, id std\_&lt;ULID&gt;, named by the stream&#39;s title, state its state (active, disabled), owner its owner\_subject. Archived definitions are left out. Streams belong to people, not projects, so a stream carries no project\_id and no OVRN; GET /api/v1/resources/:ovrn answers 404 for every name.</p>

### POST `/api/v1/resources/control`

Control a person's restream definitions through the authority's control API (ADR-048 amendment 2026-10-15, step 8 phase 2): POST /api/v1/resources/control takes one common.owned-resource-control-reque

- Capabilities: [openre.resource.control](/docs/capabilities/openre.resource.control)
- Visibility: first-party
- Request body: `application/json` [common.owned-resource-control-request@1](/docs/contracts/common.owned-resource-control-request)
- Response: `application/json` [common.resource-control-result@1](/docs/contracts/common.resource-control-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>openre.resource.control</strong> (first-party): Control a person&#39;s restream definitions through the authority&#39;s control API (ADR-048 amendment 2026-10-15, step 8 phase 2): POST /api/v1/resources/control takes one common.owned-resource-control-request@1 naming a openre.stream (id the definition id) from a first-party service (OpenVibe.Services) acting for the person in on\_behalf\_of. Actions: suspend (state disabled: new ingest is refused, as PATCH state=disabled) and resume (state active again); any other action is refused unsupported. Only the resource&#39;s owner may act: the request&#39;s owner must be the owner the authority holds. dry\_run decides and explains without applying. The first answer per (caller, idempotency\_key) is kept and returned for a repeat; the same key with another request is refused. Answers common.resource-control-result@1 without resource (person-owned resources have no OVRN).</p>

### GET `/api/v1/sessions`

Read ingest sessions: lifecycle and transitions, worker and generation, media info, recording state and the playback descriptor; list worker generations.

- Capabilities: [openre.session.read](/docs/capabilities/openre.session.read)
- Visibility: first-party
- Response: `application/json` [openre.session-read-result@1](/docs/contracts/openre.session-read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>openre.session.read</strong> (first-party): Read ingest sessions: lifecycle and transitions, worker and generation, media info, recording state and the playback descriptor; list worker generations.</p>

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

Read ingest sessions: lifecycle and transitions, worker and generation, media info, recording state and the playback descriptor; list worker generations.

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

 Description<p><strong>openre.session.read</strong> (first-party): Read ingest sessions: lifecycle and transitions, worker and generation, media info, recording state and the playback descriptor; list worker generations.</p>

### POST `/api/v1/sessions/{id}/end`

Ask the worker that owns a session to disconnect its encoder (the session then ends normally).

- Capabilities: [openre.session.end](/docs/capabilities/openre.session.end)
- Visibility: first-party
- Parameters: - `id` (path, required)
- Response: `application/json` [openre.session-end-result@1](/docs/contracts/openre.session-end-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>openre.session.end</strong> (first-party): Ask the worker that owns a session to disconnect its encoder (the session then ends normally).</p>

### GET `/api/v1/sessions/{id}/outputs`

Read restream destinations (keys masked to their last four characters), outputs with health and progress, and bounded logs.

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

 Description<p><strong>openre.output.read</strong> (first-party): Read restream destinations (keys masked to their last four characters), outputs with health and progress, and bounded logs.</p>

### GET `/api/v1/sessions/{id}/playback`

Read ingest sessions: lifecycle and transitions, worker and generation, media info, recording state and the playback descriptor; list worker generations.

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

 Description<p><strong>openre.session.read</strong> (first-party): Read ingest sessions: lifecycle and transitions, worker and generation, media info, recording state and the playback descriptor; list worker generations.</p>

### GET `/api/v1/streams`

Read stream definitions: ingest URLs, key metadata (hint, status; never a key), settings and external references.

- Capabilities: [openre.stream.read](/docs/capabilities/openre.stream.read)
- Visibility: first-party
- Response: `application/json` [openre.stream-read-result@1](/docs/contracts/openre.stream-read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>openre.stream.read</strong> (first-party): Read stream definitions: ingest URLs, key metadata (hint, status; never a key), settings and external references. Owners read their own; a service reads every stream, or the streams of the X-OV-Subject it acts for.</p>

### POST `/api/v1/streams`

Create, update and archive stream definitions (creation issues the first ingest key, returned once).

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

 Description<p><strong>openre.stream.write</strong> (first-party): Create, update and archive stream definitions (creation issues the first ingest key, returned once). Archiving is refused while a session is open.</p>

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

Read stream definitions: ingest URLs, key metadata (hint, status; never a key), settings and external references.

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

 Description<p><strong>openre.stream.read</strong> (first-party): Read stream definitions: ingest URLs, key metadata (hint, status; never a key), settings and external references. Owners read their own; a service reads every stream, or the streams of the X-OV-Subject it acts for.</p>

### PATCH `/api/v1/streams/{id}`

Create, update and archive stream definitions (creation issues the first ingest key, returned once).

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

 Description<p><strong>openre.stream.write</strong> (first-party): Create, update and archive stream definitions (creation issues the first ingest key, returned once). Archiving is refused while a session is open.</p>

### DELETE `/api/v1/streams/{id}`

Create, update and archive stream definitions (creation issues the first ingest key, returned once).

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

 Description<p><strong>openre.stream.write</strong> (first-party): Create, update and archive stream definitions (creation issues the first ingest key, returned once). Archiving is refused while a session is open.</p>

### GET `/api/v1/streams/{id}/destinations`

Read restream destinations (keys masked to their last four characters), outputs with health and progress, and bounded logs.

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

 Description<p><strong>openre.output.read</strong> (first-party): Read restream destinations (keys masked to their last four characters), outputs with health and progress, and bounded logs.</p>

### POST `/api/v1/streams/{id}/destinations`

Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.

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

 Description<p><strong>openre.output.write</strong> (first-party): Create, update, delete and test restream destinations (stream keys are write-only and sealed at rest; URLs must be rtmp/rtmps/srt with public hosts), and start or stop an output for the live session.</p>

### GET `/api/v1/streams/{id}/keys`

Read stream definitions: ingest URLs, key metadata (hint, status; never a key), settings and external references.

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

 Description<p><strong>openre.stream.read</strong> (first-party): Read stream definitions: ingest URLs, key metadata (hint, status; never a key), settings and external references. Owners read their own; a service reads every stream, or the streams of the X-OV-Subject it acts for.</p>

### POST `/api/v1/streams/{id}/keys/rotate`

Rotate a stream's ingest key: a new key is issued and returned once; the old one is revoked immediately or after a grace period, and running sessions can optionally be ended.

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

 Description<p><strong>openre.key.rotate</strong> (first-party): Rotate a stream&#39;s ingest key: a new key is issued and returned once; the old one is revoked immediately or after a grace period, and running sessions can optionally be ended.</p>

### GET `/api/v1/workers`

Read ingest sessions: lifecycle and transitions, worker and generation, media info, recording state and the playback descriptor; list worker generations.

- Capabilities: [openre.session.read](/docs/capabilities/openre.session.read)
- Visibility: first-party
- Response: `application/json` [openre.session-read-result@1](/docs/contracts/openre.session-read-result)
- Errors: [errors.problem@1](/docs/contracts/errors.problem) (application/problem+json)

 Description<p><strong>openre.session.read</strong> (first-party): Read ingest sessions: lifecycle and transitions, worker and generation, media info, recording state and the playback descriptor; list worker generations.</p>
