---
title: "Get namespace folders"
method: GET
path: "/v1/namespaces/{id}/folders"
tags: ["Namespace", "Folder"]
---

# Get namespace folders

`GET /v1/namespaces/{id}/folders`

Return a cursor-paginated page of folders at a location in the namespace library.

## Query parameters

- `page_size` integer
- `page_token` string
- `parent_id` string

## Response `200`

OK

- FolderPage
  - `items` Folder[], required
    - `id` string, required — Unique identifier of the folder.
    - `name` string, required — Name of the folder.
    - `library` DocumentLibrary, required — The organization or namespace a document or folder is scoped to.
      - `id` string, required — Unique identifier of the library.
      - `type` 'Organization' | 'Namespace', required — Resource type of the library.
      - `name` string, required — Name of the organization or namespace.
    - `parent` DocumentFolder, required — The folder a document or nested folder is located in.
      - `id` string, required — Unique identifier of the folder.
      - `name` string, required — Name of the folder.
      - `parent_id` string — Parent folder ID when the folder is nested.
    - `created_by` PartialUser, required — A simplified user used on issue list and detail responses.
      - `id` string, required — Unique identifier of the user.
      - `first_name` string, required — First name of the user.
      - `last_name` string, required — Last name of the user.
      - `picture` string, uri, nullable — Profile picture of the user.
    - `created_at` string, date-time, required — Date when the folder was created.
    - `updated_at` string, date-time, nullable, required — Date when the folder was updated.
  - `page_info` PageInfo, required — Cursor pagination metadata for a page of results.
    - `next_page_token` string, nullable — Opaque token for the next page. Omitted when has_more is false.
    - `has_more` boolean, required — Whether more results are available.
    - `total_count` integer, nullable — Optional total count when requested by the server.

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `403` — Forbidden
- `404` — The requested resource not found
- `500` — Internal Server Error

---

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