---
title: "Search pages by path"
method: GET
path: "/api/v1/page/search"
tags: ["Page"]
---

# Search pages by path

`GET /api/v1/page/search`

Returns all pages whose path matches the given filter. If the path starts with '//', the segment after the double-slash is treated as the site name for filtering. Results can be filtered to live versions only and/or pages from live sites only.

## Query parameters

- `path` string, required
- `live` boolean
- `onlyLiveSites` boolean

## Response `200`

Pages matching the search criteria

- ResponseEntityContentletMapsView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` object[]
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `401` — Authentication required
- `403` — User does not have required permissions

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
