---
title: "Search Pages"
method: GET
path: "/api/pages/search"
tags: ["pages"]
---

# Search Pages

`GET /api/pages/search`

## 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/pages/search`
- Auth: HTTP bearer

## Query parameters

- `q` string, required
- `folder_id` string, uuid, nullable
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- PageSearchResponse: Paginated search results for pages.
  - `results` PageSearchResult[], required
    - `page_id` string, uuid, required
    - `title` string, required
    - `root_path` string, nullable
    - `repo_url` string, nullable
    - `folder_id` string, uuid, nullable
    - `parent_id` string, uuid, nullable
    - `tags` string[]
    - `is_project` boolean
    - `rank` number, required
    - `match_type` string, required
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required
  - `has_more` boolean, required

## 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)
