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

# live.stream-read-result@1 · OpenVibe.Services

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

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

live.stream-read-result@1: answers of live.stream.read on OpenVibe.Live (public, parameters in the path and query). GET /api/streams → { streams } (live now, with each slot's external viewers and total\_viewer\_count); GET /api/streams/recent?limit= → { streams } (recently ended, with their public VOD from OpenVibe.Media); GET /api/streams/:id → { stream } (plus endpoint while live, cameras, controls, pip\_overlay, follower\_count, isFollowing for a signed-in viewer); GET /api/streams/channel/:username/resolve/:ref → { managed\_stream, live\_stream\_id, is\_live }; GET /api/live-events is a Server-Sent Events feed whose stream-live messages carry { repeat, username, display\_name, avatar\_url, title, stream\_id, slug, managed\_id, at }. Ingest keys are never included.

## Fields

This schema has no named fields.

## Examples

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

 Valid: live-now

~~~~
{
  "streams": [
    {
      "id": 812,
      "user_id": 5,
      "channel_id": 5,
      "managed_stream_id": 3,
      "title": "Late night IRL",
      "category": "irl",
      "protocol": "rtmp",
      "is_live": 1,
      "is_nsfw": 0,
      "viewer_count": 41,
      "peak_viewers": 60,
      "thumbnail_url": "/thumbnails/812.jpg",
      "started_at": "2026-09-25 21:00:01",
      "ended_at": null,
      "channel": {
        "username": "alice",
        "display_name": "Alice"
      },
      "external_viewer_count": 12,
      "total_viewer_count": 53
    }
  ]
}
~~~~

Valid: resolve

~~~~
{
  "managed_stream": {
    "id": 3,
    "slug": "main",
    "title": "Main cam",
    "protocol": "rtmp"
  },
  "live_stream_id": 812,
  "is_live": true
}
~~~~

Valid: sse-stream-live

~~~~
{
  "repeat": false,
  "username": "alice",
  "display_name": "Alice",
  "avatar_url": null,
  "title": "Late night IRL",
  "stream_id": 812,
  "slug": "main",
  "managed_id": 3,
  "at": 1790370001000
}
~~~~

Rejected: stream-without-id

~~~~
{
  "streams": [
    {
      "title": "no id"
    }
  ]
}
~~~~

## Validate

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