Skip to main content
GET
/
libraries
/
{libraryId}
/
folders
List Folders
curl --request GET \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/folders \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "fcd82c40-4d0c-4cc7-a357-0774e2cab7b8",
      "name": "Product",
      "created_at": "2025-10-09T16:32:15.870776Z",
      "updated_at": "2025-10-09T16:32:15.870776Z"
    }
  ],
  "meta": {
    "links": {
      "self": "/libraries/5c59072e-2762-4ae9-889e-4ffbe32f7662/folders?limit=20&page=1",
      "first": "/libraries/5c59072e-2762-4ae9-889e-4ffbe32f7662/folders?limit=20&page=1",
      "last": "/libraries/5c59072e-2762-4ae9-889e-4ffbe32f7662/folders?limit=20&page=1"
    },
    "pagination": {
      "page": 1,
      "page_size": 20,
      "total": 1,
      "total_pages": 1
    }
  },
  "message": "Folders 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

parent_id
string

Response

The response is of type object.