> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Introduction

## Article: Introduction (Pages)

## Article Link: https://dev.wix.com/docs/sdk/host-modules/editor/pages/introduction.md

## Article Content:

# Introduction

The Pages API lets you list pages that your app manages, such as the pages from your app's [site page extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-pages/about-site-page-extensions.md).

To use the Pages API, follow the [setup instructions for the Editor API](https://dev.wix.com/docs/sdk/host-modules/editor/introduction.md#setup).

> **Note:** The Pages API resolves pages only for apps that manage pages, such as [site page extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-pages/about-site-page-extensions.md). It's not available from a [site widget or plugin's settings panel](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/create-a-settings-panel-for-a-site-widget-or-plugin-wix-cli-and-self-hosting.md). Every method rejects there, even though the panel's own [Widget API](https://dev.wix.com/docs/sdk/host-modules/editor/widget/introduction.md) and [Info API](https://dev.wix.com/docs/sdk/host-modules/editor/info/introduction.md) calls work normally in the same panel. There is currently no public API for getting the stable page ID of the page a widget instance is placed on.

## Example

```js
import { pages } from '@wix/editor';

async function listMyPages() {
  const myPages = await pages.list();
}
```