---
title: "List saved videos with pagination"
method: GET
path: "/v1/library/list"
tags: ["agent", "library"]
---

# List saved videos with pagination

`GET /v1/library/list`

## Query parameters

- `limit` integer
- `cursor` string
- `channelId` string
- `sortBy` 'createdAt' | 'updatedAt'
- `sortOrder` 'asc' | 'desc'

## Response `200`

Successful response

- object
  - `videos` object[], required
    - `id` string, required
    - `title` string, nullable, required
    - `sourceUrl` string, required
    - `coverUrl` string, nullable, required
    - `duration` number, nullable, required
    - `channelId` string, nullable, required
    - `channelTitle` string, nullable, required
    - `createdAt` string, required
  - `nextCursor` string, nullable, required
  - `total` number

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/bibigpt/apis/bibigpt-openapi.md) · [All operations](https://skmtc.net/bibigpt/apis/bibigpt-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bibigpt/bibigpt-openapi/versions/6923ed89c442/schema)
