Skip to Content
DocumentationAPI ReferenceCollections

Collections API

The Collections API allows you to browse the folder structure of your media library.

List Collections

Retrieves a list of collections (folders), either at the root level or within a specified parent collection.

GET /collections

Parameters

NameTypeRequiredDescription
pathstringOptionalThe full path of the parent collection (e.g., root/movies). Defaults to root.

Example Request

GET /api/client/v1/collections?path=root/fitness Host: https://your-app.com Authorization: Bearer sk-your-api-key-here

Example Response: 200 OK

{ "data": [ { "name": "Yoga Sessions", "path": "root/fitness/yoga-sessions" }, { "name": "HIIT Workouts", "path": "root/fitness/hiit-workouts" } ] }