---
title: "Get Folder"
method: GET
path: "/api/folders/{folder_id}"
tags: ["folders"]
---

# Get Folder

`GET /api/folders/{folder_id}`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/folders/{folder_id}`
- Auth: HTTP bearer

Get a folder with its pages.

## Path parameters

- `folder_id` string, uuid, required

## Response `200`

Successful Response

- FolderWithPages
  - `name` string, required
  - `root_path` string, nullable
  - `git_remote` string, nullable
  - `hostname` string, nullable
  - `group` string, nullable
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `chat_logging_enabled` boolean
  - `archived_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `pages` PageTreeNode[]
    - `title` string
    - `root_path` string, nullable
    - `repo_url` string, nullable
    - `tags` string[]
    - `type` string
    - `id` string, uuid, required
    - `parent_id` string, uuid, nullable
    - `folder_id` string, uuid, nullable
    - `user_id` string, uuid, required
    - `order` integer
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `deleted_at` string, date-time, nullable
    - `is_project` boolean
    - `children` PageTreeNode[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
