---
title: "Retrieve content"
method: GET
path: "/v1/content"
tags: ["Content"]
---

# Retrieve content

`GET /v1/content`

Retrieve paginated list of documents and folders

## Query parameters

- `labels` string
- `scope` 'restricted' | 'organization'
- `sortField` 'favorites' | 'name'
- `sortDirection` 'asc' | 'desc'
- `include` string
- `folderId` string, uuid
- `path` string
- `creatorId` string, uuid
- `pageSize` integer
- `cursor` string

## Response `200`

Paginated content list

- PaginatedResponse
  - `records` object[]
  - `pageInfo` PageInfo — Pagination information for paginated responses.
    - `hasNextPage` boolean — Indicates if there are more records available.
    - `nextCursor` string, nullable — Cursor for the next page of results. `null` if no more results.
    - `pageSize` integer — Number of records per page.
    - `totalRecords` integer — Total number of records matching the query.

## Other responses

- `400` — Bad Request Possible error messages: - `Page size must be at least 1` - `Page size cannot exceed 100` - `Invalid sort field` - `creatorId required when scope is restricted` - `Unrecognized query parameters` - `folderId and path cannot be used together`
- `404` — Not Found Possible error messages: - `User with id <uuid> does not exist`
- `429` — Too Many Requests - Rate limit exceeded (60 requests/minute)

---

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