> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openbridge.shop/llms.txt
> Use this file to discover all available pages before exploring further.

# .search()

> Search pages by query

```javascript theme={null}
openbridge.pages.list().search(query)
```

Filters pages by a search query string. Uses Shopify's query syntax for searching page fields.

## Parameters

| Param   | Type     | Required | Description         |
| ------- | -------- | -------- | ------------------- |
| `query` | `string` | Yes      | Search query string |

## Returns

`PagesQueryBuilder` (chainable)

## Examples

### Basic search

```javascript theme={null}
const { items } = await openbridge.pages
    .list()
    .search('shipping')
```

### Search with limit

```javascript theme={null}
const { items } = await openbridge.pages
    .list()
    .search('policy')
    .limit(5)
```

### Search by title

```javascript theme={null}
const { items } = await openbridge.pages
    .list()
    .search('title:contact')
```
