Skip to main content
GET
/
libraries
/
{libraryId}
/
videos
/
{videoId}
Get Video Details
curl --request GET \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/videos/{videoId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "efdc380d-3552-4a19-a590-fd16b0e7875b",
    "name": "Test video",
    "description": "this is my description",
    "status": "created",
    "library_id": "15365862-ee75-420f-aab4-6b4ce3fb790a",
    "organization_id": "a7f590b4-3fd7-42a4-82bb-a7cfa6aa9d04",
    "folder_id": "9bd1d640-fe39-4194-9f17-df9c6ee0683f",
    "metadata": {
      "details": "this is my meta details",
      "note": "this is my meta data"
    },
    "tags": [
      "Marketing"
    ],
    "media": {
      "duration_seconds": 120,
      "format": "mp4",
      "codec": "h264",
      "resolutions": [
        "720p",
        "1080p"
      ],
      "size_bytes": 10485760,
      "raw_size_bytes": 158008374
    },
    "assets": {
      "thumbnails": {
        "preview_url": "https://cdn.videosaas.io/1c299f17/preview.webp",
        "default_url": "https://cdn.videosaas.io/1c299f17/thumbnail.jpg",
        "urls": [
          "https://cdn.videosaas.io/1c299f17/thumbnail.jpg",
          "https://cdn.videosaas.io/1c299f17/thumbnail.jpg"
        ]
      },
      "playback": {
        "direct_url": "https://player.videosaas.io/stream/c120708b/default/1c299f17",
        "hls_url": "https://cdn.videosaas.io/1c299f17/playlist.m3u8",
        "dash_url": "https://cdn.videosaas.io/1c299f17/playlist.mpd",
        "embed_url": "https://player.videosaas.io/embed/b6464f0a-058d-4974-9c6e-e4d7e957c47f"
      }
    },
    "created_at": "2025-10-21T16:33:44.399654+06:00",
    "updated_at": "2025-10-21T16:33:44.399654+06:00"
  },
  "message": "Video Fetched Successfully",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

libraryId
string
required

Unique identifier of the library.

videoId
string
required

Unique identifier of the targeted video resource.

Response

data
object
required
message
string
required
success
boolean
required