---
title: "GET /library"
method: GET
path: "/library"
tags: ["Library"]
---

# GET /library

`GET /library`

Read-only unified listing of Library entries: folders, templates, and files. Each row carries a `type` discriminator (`folder`, `template`, or `file`) and the fields relevant to that kind. Folders are always pinned to the top of the page regardless of `?ordering=`. The listing is **shallow** -- use `?folder_id=` to drill into a folder. `file` covers both binary uploads and URL bookmarks (same underlying model).

## Query parameters

- `created_by_id` integer
- `folder_id` integer
- `limit` integer
- `ordering` string
- `page` integer
- `search` string
- `type` 'all' | 'file' | 'template'

## Headers

- `X-Company-ID` string, required

## Response `200`

No response body

---

[API](https://skmtc.net/cubesoftware/apis/cube-api.md) · [All operations](https://skmtc.net/cubesoftware/apis/cube-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cubesoftware/cube-api/revisions/67d9f45bb99b/schema)
