Skip to main content
GET
/
libraries
/
{libraryId}
/
videos
List Videos
curl --request GET \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/videos \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "a927290e-b0ae-4d27-a46d-50089ead2610",
      "name": "Test video updated",
      "description": "this is my description updated",
      "status": "created",
      "library_id": "0a7e7664-28fd-4d19-a715-855e14d8889f",
      "organization_id": "a7f590b4-3fd7-42a4-82bb-a7cfa6aa9d04",
      "folder_id": "1d5abf89-295c-45f0-bc21-bcb9185bb9f2",
      "metadata": {
        "note": "this is my meta data updated"
      },
      "duration_seconds": null,
      "size_bytes": null,
      "raw_size_bytes": null,
      "created_at": "2025-10-20T17:31:57.400917+06:00",
      "updated_at": "2025-10-20T17:37:55.641895+06:00"
    },
    {
      "id": "d833827a-d89a-4afd-ab29-7a95d13480ac",
      "name": "Test video",
      "description": "",
      "status": "created",
      "library_id": "0a7e7664-28fd-4d19-a715-855e14d8889f",
      "organization_id": "a7f590b4-3fd7-42a4-82bb-a7cfa6aa9d04",
      "folder_id": "1d5abf89-295c-45f0-bc21-bcb9185bb9f2",
      "metadata": {},
      "duration_seconds": null,
      "size_bytes": null,
      "raw_size_bytes": null,
      "created_at": "2025-10-20T16:52:07.192483+06:00",
      "updated_at": "2025-10-20T17:55:11.353401+06:00"
    },
    {
      "id": "6de7846d-febc-470a-8327-93dd58b8b032",
      "name": "Test video",
      "description": "this is my description",
      "status": "created",
      "library_id": "0a7e7664-28fd-4d19-a715-855e14d8889f",
      "organization_id": "a7f590b4-3fd7-42a4-82bb-a7cfa6aa9d04",
      "folder_id": "1d5abf89-295c-45f0-bc21-bcb9185bb9f2",
      "metadata": {
        "note": "this is my meta data"
      },
      "duration_seconds": null,
      "size_bytes": null,
      "raw_size_bytes": 158008374,
      "created_at": "2025-10-20T18:52:34.025139+06:00",
      "updated_at": "2025-10-20T18:52:34.025139+06:00"
    }
  ],
  "message": "Videos 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.

Query Parameters

limit
string
folder_id
string

Get videos under folder

Response

The response is of type object.